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 13:30HattonuriHattonuriScore: 4,424Success
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:294,39035,901,24312,042,0002,007,0002,273,280
2Dec 29, 2025 13:294,41131,898,89412,100,0002,016,0002,535,424
3Dec 29, 2025 13:294,41535,045,69812,110,0002,018,0002,535,424
4Dec 29, 2025 13:294,41532,036,30712,109,0002,018,0002,449,408
5Dec 29, 2025 13:294,41927,550,97312,122,0002,020,0002,535,424
6Dec 29, 2025 13:294,41935,982,22012,122,0002,020,0002,449,408
7Dec 29, 2025 13:294,42039,170,54412,124,0002,020,0002,273,280
8Dec 29, 2025 13:294,42232,103,52112,129,0002,021,0002,535,424
9Dec 29, 2025 13:294,42335,311,58412,132,0002,022,0002,441,216
10Dec 29, 2025 13:304,42429,933,85012,134,0002,022,0002,535,424
11Dec 29, 2025 13:294,42537,241,60612,138,0002,023,0002,535,424
12Dec 29, 2025 13:304,42636,123,70512,139,0002,023,0002,445,312
13Dec 29, 2025 13:304,43134,638,22112,155,0002,025,0002,535,424
14Dec 29, 2025 13:294,43332,197,30312,160,0002,026,0002,535,424
15Dec 29, 2025 13:294,44144,786,44512,180,0002,030,0002,273,280
16Dec 29, 2025 13:294,44129,719,49412,181,0002,030,0002,535,424
17Dec 29, 2025 13:294,45529,093,30912,221,0002,036,0002,535,424
18Dec 29, 2025 13:294,92237,794,12214,701,0001,050,0002,437,120