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 29, 2025 04:01HattonuriHattonuriScore: 4,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:564,40033,043,42412,069,0002,011,0002,535,424
2Dec 29, 2025 03:564,40228,495,50712,073,0002,012,0002,449,408
3Dec 29, 2025 13:564,40327,371,50512,078,0002,013,0002,453,504
4Dec 29, 2025 03:564,40934,196,63112,093,0002,015,0002,445,312
5Dec 29, 2025 13:564,41133,950,68212,099,0002,016,0002,449,408
6Dec 29, 2025 13:564,41243,082,89312,101,0002,016,0002,441,216
7Dec 29, 2025 03:564,41528,094,95512,110,0002,018,0002,445,312
8Dec 29, 2025 03:564,41640,413,55412,112,0002,018,0002,535,424
9Dec 29, 2025 13:564,41731,673,99612,115,0002,019,0002,535,424
10Dec 29, 2025 04:014,41932,306,24512,121,0002,020,0002,535,424
11Dec 29, 2025 03:564,42029,865,59912,123,0002,020,0002,445,312
12Dec 29, 2025 03:564,42041,769,86012,123,0002,020,0002,445,312
13Dec 29, 2025 03:564,42431,041,67713,145,0001,011,0002,445,312
14Dec 29, 2025 13:564,42831,988,78112,147,0002,024,0002,445,312
15Dec 29, 2025 13:564,42842,794,76812,146,0002,024,0002,445,312
16Dec 29, 2025 04:014,43129,225,55212,153,0002,025,0002,449,408
17Dec 29, 2025 03:564,43342,270,71412,160,0002,026,0002,441,216
18Dec 29, 2025 13:564,43329,793,60212,158,0002,026,0002,441,216
19Dec 29, 2025 03:564,43440,569,69012,163,0002,027,0002,535,424
20Dec 29, 2025 13:564,43531,306,79712,166,0002,027,0002,273,280
21Dec 29, 2025 04:014,43937,908,70912,177,0002,029,0002,535,424