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 listOct 8, 2026 21:25Karthik ReddyKarthik ReddyScore: 4,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 21:294,3216,024,191,59012,762,0001,066,00077,824
2Oct 8, 2026 21:294,3216,024,182,99512,771,0001,059,00053,248
3Oct 8, 2026 21:294,3246,024,184,85312,775,0001,062,00077,824
4Oct 8, 2026 21:294,3256,024,430,50212,779,0001,064,00077,824
5Oct 8, 2026 21:294,3256,024,443,27012,787,0001,056,00036,864
6Oct 8, 2026 21:294,3426,024,357,28512,832,0001,065,00036,864
7Oct 8, 2026 21:294,3436,024,382,65411,930,0001,968,00077,824
8Oct 8, 2026 21:294,3436,024,410,37811,950,0001,948,00077,824
9Oct 8, 2026 21:294,3456,025,958,65712,821,0001,084,00036,864