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 listAug 3, 2026 07:35IlyaIlyaScore: 4,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2026 07:354,44524,092,13513,199,0001,028,0002,113,536
2Aug 3, 2026 07:354,44624,083,08413,201,0001,028,0002,113,536
3Aug 3, 2026 07:354,45724,145,26513,240,0001,025,0002,113,536
4Aug 3, 2026 07:354,47024,102,74313,231,0001,075,0002,113,536
5Aug 3, 2026 07:354,47024,057,53613,273,0001,033,0002,113,536
6Aug 3, 2026 07:354,47624,077,86513,249,0001,077,0002,113,536
7Aug 3, 2026 07:354,47924,232,42013,252,0001,082,0002,113,536
8Aug 3, 2026 07:354,49424,167,26313,297,0001,084,0002,113,536
9Aug 3, 2026 07:354,49424,186,27213,323,0001,058,0002,113,536