ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1792. Hamming Code

Only for uzbek
Posted by TUITUF_Bahrom 12 Apr 2013 12:21
if((a[2]+a[3]+a[4])%2==a[5] && (a[1]+a[3]+a[4])%2==a[6] && (a[2]+a[1]+a[4])%2==a[7])
shu bajarilguncha ketma-ketlikni o'zgartirib borasiz 0 bo'lsa 1 va aksincha 1 bo'lsa 0
Masalan:
0 1 0 1 1 0 1  for petal 0 1 0
1 1 0 1 1 0 1  for petal 0 0 1
0 0 0 1 1 0 1  for petal 1 1 1
0 1 1 1 1 0 1  for petal 1 0 0
0 1 0 0 1 0 1  for petal 1 0 1
Re: Only for uzbek
Posted by Doston 30 Sep 2013 11:40


Edited by author 30.09.2013 14:39
Re: Only for uzbek
Posted by Doston 30 Sep 2013 14:39
Re: Only for uzbek
Posted by Muzaffardjan Karaev 12 Nov 2013 19:55
Mana tayyor kod!!!

[code deleted]
Edited by Muzaffardjan Karaev M.K _77 )))xD 11.11.2013 11:11

Edited by author 12.11.2013 19:58

Edited by moderator 24.11.2019 12:42