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 listJul 22, 2024 18:10Matt StuchlikMatt StuchlikScore: 4,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 18:104,65630,133,61212,912,0001,986,0002,269,184
2Jul 22, 2024 18:104,66532,450,61412,938,0001,990,0002,289,664
3Jul 22, 2024 18:104,67230,515,17612,958,0001,993,0002,265,088
4Jul 22, 2024 18:104,67833,411,44613,973,000998,0002,289,664
5Jul 22, 2024 18:104,68632,495,24112,996,0001,999,0002,285,568
6Jul 22, 2024 18:104,68930,000,73713,006,0002,000,0002,289,664
7Jul 22, 2024 18:104,69433,578,43813,018,0002,002,0002,285,568
8Jul 22, 2024 18:104,69630,645,00114,025,0001,001,0002,273,280
9Jul 22, 2024 18:104,71141,399,66713,066,0002,010,0002,273,280
10Jul 22, 2024 18:104,94991,982,22715,835,81602,179,072
11Jul 22, 2024 18:104,965100,018,43915,888,26302,297,856
12Jul 22, 2024 18:104,98482,545,84215,948,71302,179,072