Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listSep 7, 2022 04:25Yuriy LyfenkoYuriy LyfenkoScore: 4,483Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:254,444537,961,68612,191,0002,031,0002,265,088
2Sep 7, 2022 04:284,455535,621,59113,237,0001,018,0002,523,136
3Sep 7, 2022 04:284,457536,518,51413,245,0001,018,0002,527,232
4Sep 7, 2022 04:284,458544,521,02612,229,0002,038,0002,260,992
5Sep 7, 2022 04:254,458537,285,69213,248,0001,019,0002,523,136
6Sep 7, 2022 04:284,461536,124,28814,275,00002,265,088
7Sep 7, 2022 04:254,462540,386,21714,277,00002,523,136
8Sep 7, 2022 04:254,466541,057,20014,292,00002,523,136
9Sep 7, 2022 04:284,468540,035,14214,298,00002,523,136
10Sep 7, 2022 04:254,473534,960,60013,293,0001,022,0002,265,088
11Sep 7, 2022 04:254,474535,679,67313,296,0001,022,0002,523,136
12Sep 7, 2022 04:284,481539,038,81114,340,00002,265,088
13Sep 7, 2022 04:254,483542,586,01814,347,00002,265,088
14Sep 7, 2022 04:254,486539,200,50813,329,0001,025,0002,265,088
15Sep 7, 2022 04:284,486537,139,59213,331,0001,025,0002,387,968
16Sep 7, 2022 04:254,488537,022,90413,337,0001,025,0002,523,136
17Sep 7, 2022 04:284,517536,651,24113,422,0001,032,0002,523,136
18Sep 7, 2022 04:284,629576,079,10414,813,95402,244,608
19Sep 7, 2022 04:254,632569,823,50914,821,84202,269,184
20Sep 7, 2022 04:284,635537,946,91613,845,000988,0002,260,992
21Sep 7, 2022 04:284,635594,636,08914,831,71102,240,512
22Sep 7, 2022 04:284,640568,339,04714,848,68302,277,376
23Sep 7, 2022 04:254,641582,105,49714,850,68502,240,512
24Sep 7, 2022 04:254,655569,523,67714,895,24702,240,512