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:40HattonuriHattonuriScore: 4,422Success
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:404,39434,224,78312,052,0002,008,0002,441,216
2Dec 29, 2025 03:084,41428,479,72512,108,0002,018,0002,535,424
3Dec 29, 2025 03:404,41528,356,04912,109,0002,018,0002,445,312
4Dec 29, 2025 03:404,41635,367,24112,112,0002,018,0002,273,280
5Dec 29, 2025 03:074,41628,716,99512,113,0002,018,0002,531,328
6Dec 29, 2025 03:074,41837,717,40712,117,0002,019,0002,445,312
7Dec 29, 2025 03:074,41833,067,78012,118,0002,019,0002,531,328
8Dec 29, 2025 03:074,42134,361,06012,126,0002,021,0002,449,408
9Dec 29, 2025 03:404,42133,016,97912,126,0002,021,0002,535,424
10Dec 29, 2025 03:084,42229,402,43912,128,0002,021,0002,535,424
11Dec 29, 2025 03:074,42230,949,11812,128,0002,021,0002,535,424
12Dec 29, 2025 03:404,42527,883,19612,138,0002,023,0002,445,312
13Dec 29, 2025 03:404,42736,677,21812,143,0002,023,0002,535,424
14Dec 29, 2025 03:404,42836,987,20912,146,0002,024,0002,437,120
15Dec 29, 2025 03:404,43044,341,22412,151,0002,025,0002,535,424
16Dec 29, 2025 03:074,43134,865,60312,155,0002,025,0002,273,280
17Dec 29, 2025 03:074,43141,449,13012,153,0002,025,0002,453,504
18Dec 29, 2025 03:074,43334,619,88513,173,0001,013,0002,535,424
19Dec 29, 2025 03:404,43929,925,79212,176,0002,029,0002,445,312
20Dec 29, 2025 03:074,44629,523,46212,194,0002,032,0002,535,424
21Dec 29, 2025 03:084,45430,149,30913,236,0001,018,0002,453,504