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 listApr 17, 2024 03:44Joad NacerJoad NacerScore: 5,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:445,37844,967,83315,184,0002,024,0002,289,664
2Apr 17, 2024 03:445,38045,218,11916,203,0001,012,0002,289,664
3Apr 17, 2024 03:445,38236,810,94815,196,0002,026,0002,289,664
4Apr 17, 2024 03:445,39237,568,74715,224,0002,029,0002,289,664
5Apr 17, 2024 03:445,39439,317,80715,230,0002,030,0002,289,664
6Apr 17, 2024 03:445,39439,701,89615,232,0002,030,0002,289,664
7Apr 17, 2024 03:445,39541,240,06416,250,0001,015,0002,265,088
8Apr 17, 2024 03:445,40642,728,63916,282,0001,017,0002,289,664
9Apr 17, 2024 03:445,41038,780,33715,276,0002,036,0002,531,328
10Apr 17, 2024 03:445,633104,240,44618,025,14202,293,760
11Apr 17, 2024 03:445,65577,329,37418,097,23602,174,976
12Apr 17, 2024 03:445,67668,942,71318,162,10802,306,048