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 25, 2025 20:44Adam FolwarcznyAdam FolwarcznyScore: 4,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 20:444,45929,816,60612,231,0002,038,0002,531,328
2Apr 25, 2025 20:444,46331,230,45813,262,0001,020,0002,531,328
3Apr 25, 2025 20:444,46830,236,66713,276,0001,021,0002,441,216
4Apr 25, 2025 20:444,46935,728,22313,280,0001,021,0002,433,024
5Apr 25, 2025 20:444,47127,600,16313,286,0001,022,0002,531,328
6Apr 25, 2025 20:444,47531,539,05013,298,0001,022,0002,269,184
7Apr 25, 2025 20:444,47829,077,09813,306,0001,023,0002,531,328
8Apr 25, 2025 20:444,47829,713,55813,308,0001,023,0002,531,328
9Apr 25, 2025 20:444,48531,011,34913,328,0001,025,0002,527,232