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 listJun 13, 2021 09:44Dmitry DolgopolovDmitry DolgopolovScore: 4,971Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 09:444,95826,935,64313,883,0001,983,0002,531,328
2Jun 13, 2021 09:444,96344,104,98913,896,0001,985,0002,269,184
3Jun 13, 2021 09:444,96442,083,87213,899,0001,985,0002,269,184
4Jun 13, 2021 09:444,96537,760,17913,902,0001,986,0002,531,328
5Jun 13, 2021 09:444,96936,667,21713,915,0001,987,0002,269,184
6Jun 13, 2021 09:444,97032,851,32913,917,0001,988,0002,453,504
7Jun 13, 2021 09:444,97132,218,37813,920,0001,988,0002,449,408
8Jun 13, 2021 09:444,98742,051,74213,963,0001,994,0002,449,408
9Jun 13, 2021 09:445,01637,330,45214,044,0002,006,0002,441,216
10Jun 13, 2021 09:445,17987,209,71316,571,24602,211,840
11Jun 13, 2021 09:445,19392,214,94616,619,12602,203,648
12Jun 13, 2021 09:445,21887,154,70216,696,68302,207,744