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 03:29Yuriy LyfenkoYuriy LyfenkoScore: 4,432Success
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 03:294,399541,881,15512,066,0002,011,0002,265,088
2Sep 7, 2022 03:294,411543,612,28912,099,0002,016,0002,523,136
3Sep 7, 2022 03:294,414545,983,06512,108,0002,018,0002,260,992
4Sep 7, 2022 03:294,422540,762,58612,130,0002,021,0002,265,088
5Sep 7, 2022 03:294,423540,487,49913,143,0001,011,0002,260,992
6Sep 7, 2022 03:294,432536,644,69813,169,0001,013,0002,260,992
7Sep 7, 2022 03:294,432537,447,84813,169,0001,013,0002,260,992
8Sep 7, 2022 03:294,438544,102,40813,186,0001,014,0002,523,136
9Sep 7, 2022 03:294,441539,840,57913,195,0001,015,0002,523,136
10Sep 7, 2022 03:294,593565,108,18914,699,04202,273,280
11Sep 7, 2022 03:294,598573,388,33414,713,00802,244,608
12Sep 7, 2022 03:294,616573,213,97714,770,50202,281,472