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 listOct 14, 2025 09:57wee77777wee-huewee77777wee-hueScore: 5,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 10:015,33041,278,58415,049,0002,006,0002,441,216
2Oct 14, 2025 09:575,33237,869,00115,055,0002,007,0002,535,424
3Oct 14, 2025 10:015,33332,172,99115,059,0002,007,0002,445,312
4Oct 14, 2025 10:015,33637,821,27115,067,0002,009,0002,277,376
5Oct 14, 2025 09:575,34138,449,89315,080,0002,010,0002,441,216
6Oct 14, 2025 10:015,34541,310,65515,093,0002,012,0002,277,376
7Oct 14, 2025 09:575,34638,816,21415,095,0002,012,0002,449,408
8Oct 14, 2025 10:015,34842,382,87015,099,0002,013,0002,453,504
9Oct 14, 2025 10:015,34935,578,86215,104,0002,013,0002,277,376
10Oct 14, 2025 10:015,35836,124,26215,127,0002,017,0002,441,216
11Oct 14, 2025 09:575,36738,956,45615,153,0002,020,0002,277,376
12Oct 14, 2025 09:575,36834,717,38915,157,0002,020,0002,277,376
13Oct 14, 2025 09:575,36949,158,82815,160,0002,021,0002,277,376
14Oct 14, 2025 09:575,37037,695,79615,162,0002,021,0002,277,376
15Oct 14, 2025 10:015,37833,441,96615,185,0002,024,0002,441,216
16Oct 14, 2025 09:575,38341,054,22515,199,0002,026,0002,277,376
17Oct 14, 2025 10:015,39537,281,28515,233,0002,031,0002,449,408
18Oct 14, 2025 09:575,41641,679,97416,313,0001,019,0002,277,376