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 listJan 28, 2026 11:48GKP00GKP00Score: 403,946Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 11:48403,1511,321,203,9971,257,108,00032,976,0002,506,752
2Jan 28, 2026 11:48403,1591,317,657,9481,256,106,00034,002,0002,277,376
3Jan 28, 2026 11:48403,2441,317,863,0351,256,398,00033,983,0002,502,656
4Jan 28, 2026 11:48403,7271,321,106,7741,261,927,00029,998,0002,289,664
5Jan 28, 2026 11:48403,9461,317,900,8591,259,638,00032,990,0002,506,752
6Jan 28, 2026 11:48403,9911,327,592,3131,259,777,00032,994,0002,502,656
7Jan 28, 2026 11:48404,0261,320,952,0341,259,886,00032,997,0002,289,664
8Jan 28, 2026 11:48404,4271,317,910,8161,258,191,00035,976,0002,510,848
9Jan 28, 2026 11:48404,4691,323,835,3921,260,319,00033,981,0002,506,752