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 9, 2025 16:10Yehor BondarYehor BondarScore: 2,973,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2025 16:102,970,9739,533,521,9249,471,132,00035,981,0002,277,376
2Nov 9, 2025 16:102,971,1029,533,980,9009,478,541,00028,986,0002,289,664
3Nov 9, 2025 16:102,971,7509,537,932,1489,479,618,00029,982,0002,277,376
4Nov 9, 2025 16:102,972,4839,536,549,9949,486,957,00024,989,0002,277,376
5Nov 9, 2025 16:102,973,1499,540,850,4069,477,092,00036,984,0002,256,896
6Nov 9, 2025 16:102,973,1619,546,064,2779,478,134,00035,981,0002,277,376
7Nov 9, 2025 16:102,973,4369,542,110,5319,484,013,00030,983,0002,277,376
8Nov 9, 2025 16:103,061,7139,832,648,1539,763,499,00033,984,0002,285,568
9Nov 9, 2025 16:103,070,4429,857,233,4199,790,431,00034,983,0002,277,376