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 14, 2026 09:08Sanchit GuptaSanchit GuptaScore: 2,978,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2026 09:082,969,9329,533,839,6909,472,799,00030,982,0002,281,472
2Jan 14, 2026 09:082,973,2199,547,614,6419,485,314,00028,988,0002,289,664
3Jan 14, 2026 09:082,974,5269,556,097,1619,494,494,00023,988,0002,281,472
4Jan 14, 2026 09:082,977,1049,558,043,2449,493,748,00032,985,0002,281,472
5Jan 14, 2026 09:082,978,2449,557,593,2109,492,399,00037,981,0002,281,472
6Jan 14, 2026 09:083,004,1269,640,068,4589,578,217,00034,986,0002,519,040
7Jan 14, 2026 09:083,044,9939,772,478,3279,702,996,00040,983,0002,289,664
8Jan 14, 2026 09:083,066,9309,846,798,5229,786,189,00027,986,0002,281,472
9Jan 14, 2026 09:083,067,1369,842,825,7619,787,848,00026,988,0002,281,472