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 listJan 15, 2024 09:23CalCalScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:235,46743,391,03616,465,0001,029,0002,281,472
2Jan 15, 2024 09:235,47638,893,62316,492,0001,030,0002,404,352
3Jan 15, 2024 09:235,48241,964,96017,541,00002,281,472
4Jan 15, 2024 09:235,48734,145,15716,526,0001,032,0002,281,472
5Jan 15, 2024 09:235,49241,072,45716,542,0001,033,0002,281,472
6Jan 15, 2024 09:235,49538,353,12116,550,0001,034,0002,281,472
7Jan 15, 2024 09:235,51347,972,21417,640,00002,281,472
8Jan 15, 2024 09:235,51748,058,67417,655,00002,281,472
9Jan 15, 2024 09:235,51943,244,74017,662,00002,510,848
10Jan 15, 2024 09:235,62779,143,34618,005,04402,256,896
11Jan 15, 2024 09:235,66571,635,93518,127,47902,293,760
12Jan 15, 2024 09:235,68176,059,40518,179,95802,301,952