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 listMay 18, 2026 17:31M-RochatM-RochatScore: 4,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2026 17:314,38224,857,61514,024,00002,113,536
2May 18, 2026 17:314,38425,219,00213,018,0001,012,0002,113,536
3May 18, 2026 17:314,39524,070,30813,030,0001,036,0002,113,536
4May 18, 2026 17:314,39925,819,84413,053,0001,026,0002,113,536
5May 18, 2026 17:314,40025,230,87414,081,00002,113,536
6May 18, 2026 17:314,40123,337,02313,058,0001,027,0002,113,536
7May 18, 2026 17:314,40926,447,94313,063,0001,046,0002,113,536
8May 18, 2026 17:314,41523,706,94013,092,0001,038,0002,113,536
9May 18, 2026 17:314,85043,112,08514,414,0001,109,0002,113,536