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 29, 2021 22:53Mikhail ShirokovMikhail ShirokovScore: 5,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 22:535,95842,714,20017,058,0002,006,0002,531,328
2Sep 29, 2021 22:535,96636,179,84117,081,0002,009,0002,277,376
3Sep 29, 2021 22:535,97135,787,00818,101,0001,005,0002,277,376
4Sep 29, 2021 22:535,97243,561,68717,098,0002,011,0002,265,088
5Sep 29, 2021 22:535,97339,699,47817,102,0002,012,0002,379,776
6Sep 29, 2021 22:535,98340,551,59916,123,0003,023,0002,277,376
7Sep 29, 2021 22:535,98644,403,26915,123,0004,032,0002,277,376
8Sep 29, 2021 22:536,00939,356,50317,206,0002,024,0002,277,376
9Sep 29, 2021 22:536,01049,833,69818,221,0001,012,0002,269,184
10Sep 29, 2021 22:536,187103,451,70819,799,73202,174,976
11Sep 29, 2021 22:536,21289,804,01019,876,84202,301,952
12Sep 29, 2021 22:536,24791,793,78119,989,93702,306,048