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 listAug 14, 2025 21:32Leon ZhaoLeon ZhaoScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2025 21:325,27045,408,27113,889,0002,976,0002,392,064
2Aug 14, 2025 21:325,27234,300,06915,879,000992,0002,510,848
3Aug 14, 2025 22:425,27342,940,03214,890,0001,985,0002,519,040
4Aug 14, 2025 21:325,27537,143,05114,895,0001,986,0002,379,776
5Aug 14, 2025 21:325,27642,956,93113,904,0002,979,0002,510,848
6Aug 14, 2025 22:425,27633,799,29614,898,0001,986,0002,392,064
7Aug 14, 2025 21:325,27737,018,73114,900,0001,986,0002,387,968
8Aug 14, 2025 21:325,28142,392,92914,912,0001,988,0002,510,848
9Aug 14, 2025 21:325,28133,288,54613,918,0002,982,0002,510,848
10Aug 14, 2025 21:325,28344,128,95615,851,0001,056,0002,256,896
11Aug 14, 2025 21:325,28644,230,69313,930,0002,985,0002,506,752
12Aug 14, 2025 22:425,31236,036,43914,999,0001,999,0002,510,848