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 listApr 22, 2025 17:47vahookvahookScore: 4,237Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 17:474,21125,848,20113,474,00002,490,368
2Apr 22, 2025 17:474,21831,807,29213,497,00002,486,272
3Apr 22, 2025 17:474,22531,023,26013,519,00002,273,280
4Apr 22, 2025 17:474,23133,191,49613,540,00002,494,464
5Apr 22, 2025 17:474,23727,697,07112,516,0001,043,0002,273,280
6Apr 22, 2025 17:474,24728,209,93813,590,00002,273,280
7Apr 22, 2025 17:474,26833,406,88213,658,00002,498,560
8Apr 22, 2025 17:474,27529,879,80413,679,00002,273,280
9Apr 22, 2025 17:474,27927,142,74813,694,00002,531,328