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 listDec 22, 2025 23:42hunaphuhunaphuScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2025 23:424,44632,101,42212,195,0002,032,0002,273,280
2Dec 22, 2025 23:424,45736,325,49312,225,0002,037,0002,273,280
3Dec 22, 2025 23:414,46630,555,65213,272,0001,020,0002,273,280
4Dec 22, 2025 23:424,46940,028,85612,258,0002,043,0002,273,280
5Dec 22, 2025 23:414,47231,279,29613,288,0001,022,0002,396,160
6Dec 22, 2025 23:424,47242,821,96613,288,0001,022,0002,273,280
7Dec 22, 2025 23:424,48230,242,00413,318,0001,024,0002,273,280
8Dec 22, 2025 23:414,48337,713,63214,345,00002,392,064
9Dec 22, 2025 23:424,49033,143,27514,368,00002,281,472
10Dec 22, 2025 23:424,49032,328,23414,369,00002,510,848
11Dec 22, 2025 23:424,57932,993,09314,653,00002,273,280
12Dec 22, 2025 23:424,66831,995,69914,936,00002,387,968