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 listMay 8, 2024 21:51Joad NacerJoad NacerScore: 4,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:514,87435,154,60915,597,00002,289,664
2May 8, 2024 21:514,88830,989,79414,599,0001,042,0002,289,664
3May 8, 2024 21:514,88942,066,51515,644,00002,269,184
4May 8, 2024 21:514,90545,390,30615,696,00002,269,184
5May 8, 2024 21:514,90949,807,79914,661,0001,047,0002,289,664
6May 8, 2024 21:514,91031,689,97714,666,0001,047,0002,269,184
7May 8, 2024 21:514,91331,706,75415,721,00002,277,376
8May 8, 2024 21:514,91537,259,34414,679,0001,048,0002,289,664
9May 8, 2024 21:514,91943,972,70014,692,0001,049,0002,289,664
10May 8, 2024 21:515,17185,955,66016,547,83702,179,072
11May 8, 2024 21:515,25491,796,36516,814,15202,293,760
12May 8, 2024 21:515,31384,559,93817,001,97302,297,856