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 13, 2024 19:40kytanskytansScore: 5,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:405,46042,100,80216,444,0001,027,0002,273,280
2Jul 13, 2024 19:405,46040,060,14616,444,0001,027,0002,277,376
3Jul 13, 2024 19:405,46138,755,78316,448,0001,028,0002,277,376
4Jul 13, 2024 19:405,47150,264,39117,507,00002,293,760
5Jul 13, 2024 19:405,48039,196,23916,504,0001,031,0002,293,760
6Jul 13, 2024 19:405,48837,552,55216,528,0001,033,0002,273,280
7Jul 13, 2024 19:405,48938,167,18816,531,0001,033,0002,273,280
8Jul 13, 2024 19:405,49243,960,57816,541,0001,033,0002,293,760
9Jul 13, 2024 19:405,51433,632,24816,607,0001,037,0002,269,184
10Jul 13, 2024 19:405,678100,594,37718,168,65702,179,072
11Jul 13, 2024 19:405,71987,696,80618,300,43602,256,896
12Jul 13, 2024 19:405,73158,825,12718,340,23002,301,952