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 03:13HattonuriHattonuriScore: 4,432Success
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 03:134,39338,907,68712,048,0002,008,0002,535,424
2Dec 29, 2025 03:134,39730,696,63612,061,0002,010,0002,445,312
3Dec 29, 2025 03:134,40634,751,89312,085,0002,014,0002,535,424
4Dec 29, 2025 03:134,41534,591,72712,111,0002,018,0002,535,424
5Dec 29, 2025 03:134,41530,478,53712,111,0002,018,0002,535,424
6Dec 29, 2025 03:134,41727,712,67112,116,0002,019,0002,531,328
7Dec 29, 2025 03:134,42035,614,64612,123,0002,020,0002,535,424
8Dec 29, 2025 03:134,42331,662,57112,133,0002,022,0002,535,424
9Dec 29, 2025 03:134,42433,874,83212,135,0002,022,0002,535,424
10Dec 29, 2025 03:134,42531,927,50612,137,0002,022,0002,437,120
11Dec 29, 2025 03:134,42630,918,72412,140,0002,023,0002,535,424
12Dec 29, 2025 03:134,42932,234,48312,148,0002,024,0002,449,408
13Dec 29, 2025 03:134,43227,465,74412,157,0002,026,0002,445,312
14Dec 29, 2025 03:134,43235,944,30312,157,0002,026,0002,441,216
15Dec 29, 2025 03:134,44234,078,15312,184,0002,030,0002,535,424
16Dec 29, 2025 03:134,44833,426,97212,200,0002,033,0002,535,424
17Dec 29, 2025 03:134,44935,723,64912,203,0002,033,0002,449,408
18Dec 29, 2025 03:134,47842,876,73613,308,0001,023,0002,535,424
19Dec 29, 2025 03:134,50727,665,70312,361,0002,060,0002,510,848
20Dec 29, 2025 03:134,51329,786,53213,409,0001,031,0002,445,312
21Dec 29, 2025 03:134,51833,519,49513,425,0001,032,0002,449,408
22Dec 29, 2025 03:134,53042,336,59113,461,0001,035,0002,531,328
23Dec 29, 2025 03:134,54934,222,75913,517,0001,039,0002,449,408
24Dec 29, 2025 03:134,86935,327,90614,543,0001,038,0002,441,216