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 00:25Joad NacerJoad NacerScore: 5,501Success
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 00:255,45634,400,53317,458,00002,273,280
2Apr 17, 2024 00:255,45935,665,56916,443,0001,027,0002,289,664
3Apr 17, 2024 00:255,46733,260,38316,466,0001,029,0002,281,472
4Apr 17, 2024 00:255,48042,468,53916,505,0001,031,0002,289,664
5Apr 17, 2024 00:255,49444,221,19717,580,00002,371,584
6Apr 17, 2024 00:255,49733,173,29517,589,00002,289,664
7Apr 17, 2024 00:255,50144,976,31717,603,00002,289,664
8Apr 17, 2024 00:255,50452,611,16916,577,0001,036,0002,289,664
9Apr 17, 2024 00:255,52445,160,39416,637,0001,039,0002,273,280
10Apr 17, 2024 00:255,69190,147,45018,212,43802,293,760
11Apr 17, 2024 00:255,69473,076,25118,222,09302,179,072
12Apr 17, 2024 00:255,71682,560,59318,291,59702,301,952