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 16, 2025 11:57Joad NacerJoad NacerScore: 4,380Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2025 16:204,34932,747,28712,922,000994,0002,433,024
2Dec 16, 2025 11:574,35137,152,59212,930,000994,0002,433,024
3Dec 16, 2025 11:574,35529,814,46812,942,000995,0002,428,928
4Apr 19, 2025 16:204,35936,473,09212,954,000996,0002,269,184
5Dec 16, 2025 11:574,36228,808,98811,965,0001,994,0002,531,328
6Dec 16, 2025 11:574,36428,478,04612,968,000997,0002,428,928
7Dec 16, 2025 11:574,37431,761,38511,997,0001,999,0002,428,928
8Dec 16, 2025 11:574,38029,507,72312,015,0002,002,0002,531,328
9Dec 16, 2025 11:574,38435,027,54613,026,0001,002,0002,269,184
10Dec 16, 2025 11:574,39129,174,53713,047,0001,003,0002,420,736
11Dec 16, 2025 11:574,39131,088,86513,049,0001,003,0002,424,832
12Apr 19, 2025 16:204,41133,270,74312,100,0002,016,0002,428,928
13Dec 16, 2025 11:574,41327,615,96012,106,0002,017,0002,531,328
14Dec 16, 2025 11:574,43832,417,54812,172,0002,028,0002,531,328
15Dec 16, 2025 11:574,46436,154,56412,245,0002,040,0002,428,928