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 listNov 27, 2024 16:56Hayden DonnellyHayden DonnellyScore: 47,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:5646,917173,081,789122,110,00028,025,0002,293,760
2Nov 27, 2024 16:5646,999182,576,959123,326,00027,071,0002,387,968
3Nov 27, 2024 16:5647,004179,329,293124,341,00026,071,0002,293,760
4Nov 27, 2024 16:5647,008174,098,263127,359,00023,065,0002,297,856
5Nov 27, 2024 16:5647,053181,810,470122,464,00028,106,0002,383,872
6Nov 27, 2024 16:5647,133174,953,667122,857,00027,967,0002,293,760
7Nov 27, 2024 16:5647,143177,527,828125,882,00024,976,0002,392,064
8Nov 27, 2024 16:5647,148177,876,128121,899,00028,976,0002,293,760
9Nov 27, 2024 16:5647,828176,867,721123,041,00030,010,0002,293,760