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 3, 2026 09:29Victor MerckléVictor MerckléScore: 9,038Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2026 09:298,98037,971,77427,724,0001,013,0002,117,632stderr
2Jun 3, 2026 09:298,99037,977,79227,758,0001,010,0002,117,632stderr
3Jun 3, 2026 09:299,00737,953,55427,804,0001,019,0002,117,632stderr
4Jun 3, 2026 09:299,03538,097,42227,902,0001,013,0002,117,632stderr
5Jun 3, 2026 09:299,03838,131,76027,914,0001,010,0002,117,632stderr
6Jun 3, 2026 09:299,05339,393,65927,836,0001,134,0002,117,632stderr
7Jun 3, 2026 09:299,06338,786,08627,899,0001,105,0002,117,632stderr
8Jun 3, 2026 09:299,26138,939,98928,627,0001,011,0002,117,632stderr
9Jun 3, 2026 09:299,28338,929,54128,698,0001,010,0002,117,632stderr