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 listDec 31, 2025 04:53Josu San MartinJosu San MartinScore: 4,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2025 04:544,42331,703,57112,132,0002,022,0002,281,472
2Dec 31, 2025 04:534,42431,057,05712,135,0002,022,0002,277,376
3Dec 31, 2025 04:534,43130,286,55512,154,0002,025,0002,400,256
4Dec 31, 2025 04:534,44031,162,91612,179,0002,029,0002,281,472
5Dec 31, 2025 04:544,44930,105,46012,203,0002,033,0002,281,472
6Dec 31, 2025 04:544,45434,724,10512,217,0002,036,0002,281,472
7Dec 31, 2025 04:544,45638,665,25313,242,0001,018,0002,400,256
8Dec 31, 2025 04:544,46130,492,67113,255,0001,019,0002,400,256
9Dec 31, 2025 04:534,46235,062,00713,259,0001,019,0002,281,472
10Dec 31, 2025 04:534,46230,344,95713,259,0001,019,0002,404,352
11Dec 31, 2025 04:534,46435,833,87814,284,00002,281,472
12Dec 31, 2025 04:534,46835,966,83114,298,00002,404,352
13Dec 31, 2025 04:544,47533,275,57614,321,00002,392,064
14Dec 31, 2025 04:534,47931,468,22914,334,00002,281,472
15Dec 31, 2025 04:534,48128,739,76114,339,00002,277,376
16Dec 31, 2025 04:534,48332,079,28613,322,0001,024,0002,281,472
17Dec 31, 2025 04:544,48435,921,25714,348,00002,404,352
18Dec 31, 2025 04:534,48543,156,78013,327,0001,025,0002,412,544
19Dec 31, 2025 04:534,48940,977,01114,365,00002,400,256
20Dec 31, 2025 04:544,50336,239,81114,411,00002,285,568
21Dec 31, 2025 04:544,50832,260,53614,427,00002,277,376