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 listNov 5, 2024 22:20Michael KlimenkoMichael KlimenkoScore: 10,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 22:2010,58556,637,31531,880,0001,992,0002,289,664
2Nov 5, 2024 22:2010,59162,156,59231,897,0001,993,0002,269,184
3Nov 5, 2024 22:2010,59363,618,73431,903,0001,993,0002,289,664
4Nov 5, 2024 22:2010,59655,133,31732,879,0001,027,0002,269,184
5Nov 5, 2024 22:2010,59965,920,06331,923,0001,995,0002,289,664
6Nov 5, 2024 22:2010,60357,823,80331,934,0001,995,0002,289,664
7Nov 5, 2024 22:2010,62158,616,66932,987,000999,0002,289,664
8Nov 5, 2024 22:2010,62861,254,48832,010,0002,000,0002,269,184
9Nov 5, 2024 22:2010,63361,709,34732,026,0002,001,0002,265,088