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 25, 2021 00:28Alexander KimAlexander KimScore: 5,807Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:285,74243,135,98617,355,0001,020,0002,334,720
2Dec 25, 2021 00:285,74748,579,96317,369,0001,021,0002,334,720
3Dec 25, 2021 00:285,76145,049,79217,412,0001,024,0002,297,856
4Dec 25, 2021 00:285,77737,803,18718,485,00002,334,720
5Dec 25, 2021 00:285,79941,155,19218,556,00002,301,952
6Dec 25, 2021 00:285,80639,952,29018,580,00002,306,048
7Dec 25, 2021 00:285,80742,847,49416,518,0002,064,0002,334,720
8Dec 25, 2021 00:285,80841,736,41416,522,0002,065,0002,334,720
9Dec 25, 2021 00:285,81394,105,45118,600,73502,265,088
10Dec 25, 2021 00:285,81380,181,07118,602,75702,273,280
11Dec 25, 2021 00:285,81642,397,71016,543,0002,067,0002,334,720
12Dec 25, 2021 00:285,91099,580,01318,912,44802,273,280