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 listJul 22, 2022 21:58Robert BurkeRobert BurkeScore: 4,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:584,84230,104,10715,495,00002,273,280
2Jul 22, 2022 21:584,85933,639,68114,512,0001,036,0002,420,736
3Jul 22, 2022 21:584,86730,053,87814,535,0001,038,0002,535,424
4Jul 22, 2022 21:584,86838,446,13015,577,00002,428,928
5Jul 22, 2022 21:584,86828,483,32115,578,00002,428,928
6Jul 22, 2022 21:584,89531,726,07115,664,00002,273,280
7Jul 22, 2022 21:584,89933,029,37814,698,000979,0002,273,280
8Jul 22, 2022 21:584,89940,405,49214,632,0001,045,0002,535,424
9Jul 22, 2022 21:584,96248,142,30014,885,000992,0002,437,120
10Jul 22, 2022 21:584,97373,282,09415,913,48602,183,168
11Jul 22, 2022 21:585,00292,042,91316,006,80302,183,168
12Jul 22, 2022 21:585,00852,554,34216,026,19002,183,168