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 listApr 14, 2026 06:21Yuriy LyfenkoYuriy LyfenkoScore: 4,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 06:214,140537,559,14112,229,0001,019,0002,535,424
2Apr 14, 2026 06:224,157540,580,11912,278,0001,023,0002,535,424
3Apr 14, 2026 06:214,159532,676,68012,287,0001,023,0002,441,216
4Apr 14, 2026 06:214,159540,923,50012,285,0001,023,0002,535,424
5Apr 14, 2026 06:214,161539,375,34212,292,0001,024,0002,535,424
6Apr 14, 2026 06:214,161532,268,51612,292,0001,024,0002,535,424
7Apr 14, 2026 06:214,168536,201,81312,311,0001,025,0002,449,408
8Apr 14, 2026 06:214,170536,838,74612,318,0001,026,0002,535,424
9Apr 14, 2026 06:214,172542,573,30612,323,0001,026,0002,535,424
10Apr 14, 2026 06:214,175535,796,42112,334,0001,027,0002,457,600
11Apr 14, 2026 06:214,175537,543,41213,359,00002,535,424
12Apr 14, 2026 06:214,181538,462,01712,350,0001,029,0002,273,280
13Apr 14, 2026 06:224,181533,808,68212,349,0001,029,0002,535,424
14Apr 14, 2026 06:224,183534,690,73012,356,0001,029,0002,449,408
15Apr 14, 2026 06:214,186540,963,91012,365,0001,030,0002,273,280
16Apr 14, 2026 06:214,186535,615,10112,366,0001,030,0002,535,424
17Apr 14, 2026 06:214,190536,924,95412,376,0001,031,0002,535,424
18Apr 14, 2026 06:214,191539,120,40413,411,00002,273,280
19Apr 14, 2026 06:214,192532,289,60212,382,0001,031,0002,535,424
20Apr 14, 2026 06:214,203538,655,76912,415,0001,034,0002,535,424
21Apr 14, 2026 06:214,210535,723,33112,437,0001,036,0002,273,280