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 listJun 20, 2026 16:00A_ShamanA_ShamanScore: 39,011Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 16:0138,063130,930,33117,495,000104,309,0002,142,208
2Jun 20, 2026 16:0138,648132,802,81516,569,000107,107,0002,117,632
3Jun 20, 2026 16:0138,662132,856,90116,992,000106,729,0002,150,400
4Jun 20, 2026 16:0138,943133,810,76117,223,000107,397,0002,150,400
5Jun 20, 2026 16:0139,011134,004,69817,945,000106,891,0002,150,400
6Jun 20, 2026 16:0139,128134,329,80417,981,000107,230,0002,150,400
7Jun 20, 2026 16:0139,398135,202,31017,985,000108,089,0002,150,400
8Jun 20, 2026 16:0139,408135,306,46618,185,000107,921,0002,142,208
9Jun 20, 2026 16:0139,483135,511,85118,106,000108,241,0002,117,632