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 listAug 11, 2024 19:46vahookvahookScore: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 19:465,43538,849,03014,323,0003,069,0002,363,392
2Aug 11, 2024 19:465,43634,407,66515,350,0002,046,0002,269,184
3Aug 11, 2024 19:465,43834,519,73716,377,0001,023,0002,269,184
4Aug 11, 2024 19:465,44942,918,41815,385,0002,051,0002,371,584
5Aug 11, 2024 19:465,46535,081,02815,431,0002,057,0002,273,280
6Aug 11, 2024 19:465,47040,284,90715,445,0002,059,0002,371,584
7Aug 11, 2024 19:465,47540,974,99816,489,0001,030,0002,269,184
8Aug 11, 2024 19:465,47739,328,90416,495,0001,030,0002,269,184
9Aug 11, 2024 19:465,49044,657,86615,501,0002,066,0002,363,392
10Aug 11, 2024 19:465,56589,343,84117,807,67302,301,952
11Aug 11, 2024 19:465,58485,808,47617,868,41202,301,952
12Aug 11, 2024 19:465,58594,029,77017,871,02402,293,760