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 26, 2021 23:54Alexander KimAlexander KimScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 23:545,67335,337,50017,147,0001,008,0002,297,856
2Dec 26, 2021 23:545,68243,442,52517,173,0001,010,0002,306,048
3Dec 26, 2021 23:545,68941,701,46217,194,0001,011,0002,437,120
4Dec 26, 2021 23:545,69040,337,49717,198,0001,011,0002,334,720
5Dec 26, 2021 23:545,69440,551,80216,196,0002,024,0002,306,048
6Dec 26, 2021 23:545,69746,582,85517,217,0001,012,0002,301,952
7Dec 26, 2021 23:545,71238,562,52317,262,0001,015,0002,334,720
8Dec 26, 2021 23:545,71742,192,22716,261,0002,032,0002,334,720
9Dec 26, 2021 23:545,72132,999,80517,291,0001,017,0002,334,720
10Dec 26, 2021 23:545,80181,289,56218,563,06602,269,184
11Dec 26, 2021 23:545,81892,606,81918,617,98102,260,992
12Dec 26, 2021 23:545,83792,850,62118,677,82902,260,992