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 listJun 9, 2024 14:09AndreyTSAndreyTSScore: 5,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:095,39334,840,54115,226,0002,030,0002,269,184
2Jun 9, 2024 14:095,39438,447,99316,246,0001,015,0002,277,376
3Jun 9, 2024 14:095,39638,188,74816,252,0001,015,0002,289,664
4Jun 9, 2024 14:095,39740,497,40615,239,0002,031,0002,277,376
5Jun 9, 2024 14:095,39942,210,15515,246,0002,032,0002,289,664
6Jun 9, 2024 14:095,40434,677,94016,275,0001,017,0002,269,184
7Jun 9, 2024 14:095,43345,074,33715,340,0002,045,0002,269,184
8Jun 9, 2024 14:095,43838,732,39716,377,0001,023,0002,289,664
9Jun 9, 2024 14:095,43953,595,52516,381,0001,023,0002,277,376
10Jun 9, 2024 14:095,57778,820,07217,846,55702,183,168
11Jun 9, 2024 14:095,60186,506,61217,924,39702,297,856
12Jun 9, 2024 14:095,63276,641,23418,023,10502,293,760