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 listOct 2, 2026 00:29Karthik ReddyKarthik ReddyScore: 3,935Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:303,91610,021,630,64012,533,000020,480
2Oct 2, 2026 00:303,92810,021,645,41712,570,000020,480
3Oct 2, 2026 00:303,92910,021,662,28912,575,000020,480
4Oct 2, 2026 00:303,93210,023,573,30512,585,000020,480
5Oct 2, 2026 00:303,93510,021,672,19212,594,000020,480
6Oct 2, 2026 00:303,93910,025,452,96412,606,000020,480
7Oct 2, 2026 00:303,94610,021,651,76112,630,000020,480
8Oct 2, 2026 00:303,94810,021,739,17012,636,000020,480
9Oct 2, 2026 00:304,00310,021,844,35412,812,000020,480