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 listJul 3, 2026 00:27Victor MerckléVictor MerckléScore: 4,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 00:274,18221,258,15413,385,00002,117,632stderr
2Jul 3, 2026 00:274,19021,298,73413,408,00002,117,632stderr
3Jul 3, 2026 00:274,19121,357,00913,414,00002,117,632stderr
4Jul 3, 2026 00:274,19521,174,86813,425,00002,117,632stderr
5Jul 3, 2026 00:274,20221,206,55713,447,00002,117,632stderr
6Jul 3, 2026 00:274,20221,439,33313,448,00002,117,632stderr
7Jul 3, 2026 00:274,20321,386,82113,451,00002,117,632stderr
8Jul 3, 2026 00:274,20721,156,25113,465,00002,117,632stderr
9Jul 3, 2026 00:274,23321,458,63812,518,0001,030,0002,117,632stderr