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 20, 2026 13:42olliecrowolliecrowScore: 4,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 13:434,44220,783,16612,185,0002,030,0002,269,184
2Apr 20, 2026 13:434,46228,252,12013,260,0001,020,0002,256,896
3Apr 20, 2026 13:434,46520,878,21513,271,0001,020,0002,269,184
4Apr 20, 2026 13:434,47026,014,60413,284,0001,021,0002,269,184
5Apr 20, 2026 13:434,66629,302,35912,941,0001,991,0002,269,184
6Apr 20, 2026 13:434,66831,247,30712,806,0002,134,0002,256,896
7Apr 20, 2026 13:434,67820,551,21811,978,0002,994,0002,269,184
8Apr 20, 2026 13:434,69932,279,23912,031,0003,007,0002,457,600
9Apr 20, 2026 13:434,71430,258,89612,069,0003,017,0002,269,184