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 7, 2024 12:37zielajzielajScore: 4,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 12:374,42829,441,78612,144,0002,024,0002,449,408
2Aug 7, 2024 12:374,43332,817,28713,174,0001,013,0002,445,312
3Aug 7, 2024 12:374,43534,062,16213,180,0001,013,0002,269,184
4Aug 7, 2024 12:374,43535,787,46413,180,0001,013,0002,531,328
5Aug 7, 2024 12:374,43829,602,99411,157,0003,043,0002,453,504
6Aug 7, 2024 12:374,43830,228,97312,172,0002,028,0002,531,328
7Aug 7, 2024 12:374,44128,275,51612,181,0002,030,0002,531,328
8Aug 7, 2024 12:374,44831,484,86813,219,0001,016,0002,269,184
9Aug 7, 2024 12:374,46430,296,96612,245,0002,040,0002,531,328
10Aug 7, 2024 12:375,15279,114,75516,487,73602,334,720
11Aug 7, 2024 12:375,16283,604,70616,517,76502,195,456
12Aug 7, 2024 12:375,22963,964,16816,731,36302,207,744