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, 2024 23:19Joad NacerJoad NacerScore: 4,679Success
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, 2024 23:194,65537,606,16313,902,000993,0002,265,088
2Jul 22, 2024 23:194,65536,265,38213,833,0001,064,0002,531,328
3Jul 22, 2024 23:194,67036,141,71913,949,000996,0002,289,664
4Jul 22, 2024 23:194,67436,797,64512,962,0001,994,0002,265,088
5Jul 22, 2024 23:194,67644,865,02913,966,000997,0002,265,088
6Jul 22, 2024 23:194,67830,751,88812,973,0001,995,0002,289,664
7Jul 22, 2024 23:194,67936,845,68612,977,0001,996,0002,289,664
8Jul 22, 2024 23:194,68848,777,44113,003,0002,000,0002,289,664
9Jul 22, 2024 23:194,68932,338,11914,004,0001,000,0002,510,848
10Jul 22, 2024 23:194,92784,247,31915,765,59102,306,048
11Jul 22, 2024 23:194,95082,139,18115,838,85202,297,856
12Jul 22, 2024 23:194,95281,950,39615,846,50002,306,048