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 31, 2024 14:20matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 14:2200000Error: expected "976928 ", got " 4385"stderr
2Jul 31, 2024 14:204,70339,024,95713,044,0002,006,0002,281,472
3Jul 31, 2024 14:204,70331,306,08713,045,0002,006,0002,281,472
4Jul 31, 2024 14:204,70534,435,88913,049,0002,007,0002,281,472
5Jul 31, 2024 14:204,70836,930,40513,056,0002,008,0002,281,472
6Jul 31, 2024 14:204,71035,577,29013,064,0002,009,0002,445,312
7Jul 31, 2024 14:204,71430,639,61113,075,0002,011,0002,445,312
8Jul 31, 2024 14:204,72932,617,67513,116,0002,017,0002,281,472
9Jul 31, 2024 14:204,73339,980,99013,125,0002,019,0002,445,312
10Jul 31, 2024 14:204,73336,902,86713,128,0002,019,0002,453,504
11Jul 31, 2024 14:205,00957,522,34216,029,00902,211,840
12Jul 31, 2024 14:205,02073,777,57216,062,78402,199,552
13Jul 31, 2024 14:205,05291,245,49516,166,23402,211,840