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 30, 2025 20:01Adam FolwarcznyAdam FolwarcznyScore: 4,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2025 20:004,41933,904,17012,122,0002,020,0002,269,184
2Apr 30, 2025 19:584,42032,061,16812,124,0002,020,0002,441,216
3Apr 30, 2025 19:584,43235,159,86912,156,0002,026,0002,531,328
4Apr 30, 2025 20:004,44831,341,75812,199,0002,033,0002,441,216
5Apr 30, 2025 20:014,45131,362,21112,209,0002,034,0002,441,216
6Apr 30, 2025 20:014,45232,973,47012,212,0002,035,0002,449,408
7Apr 30, 2025 19:584,46130,637,71013,257,0001,019,0002,531,328
8Apr 30, 2025 20:004,48228,376,36313,317,0001,024,0002,449,408
9Apr 30, 2025 20:014,49233,254,71213,348,0001,026,0002,453,504