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 listDec 27, 2021 11:20Alexander KimAlexander KimScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2021 11:205,65947,219,87317,102,0001,006,0002,334,720
2Dec 27, 2021 11:205,67546,953,55217,151,0001,008,0002,334,720
3Dec 27, 2021 11:205,68640,843,16217,186,0001,010,0002,334,720
4Dec 27, 2021 11:205,68842,630,06515,167,0003,033,0002,334,720
5Dec 27, 2021 11:205,69440,716,90616,196,0002,024,0002,293,760
6Dec 27, 2021 11:205,69440,873,13217,209,0001,012,0002,297,856
7Dec 27, 2021 11:205,70336,945,19517,235,0001,013,0002,551,808
8Dec 27, 2021 11:205,70440,567,33416,226,0002,028,0002,293,760
9Dec 27, 2021 11:205,71038,420,66115,227,0003,045,0002,334,720
10Dec 27, 2021 11:205,71786,454,08018,294,98502,269,184
11Dec 27, 2021 11:205,74992,164,68818,398,13602,277,376
12Dec 27, 2021 11:205,80978,353,34218,587,67502,260,992