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 24, 2025 01:26vahookvahookScore: 4,161Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 01:274,13538,230,05912,214,0001,017,0002,498,560
2Apr 24, 2025 01:274,13733,790,63213,238,00002,494,464
3Apr 24, 2025 01:274,13829,877,80013,241,00002,494,464
4Apr 24, 2025 01:274,13832,462,15313,240,00002,486,272
5Apr 24, 2025 01:274,14230,708,13013,255,00002,502,656
6Apr 24, 2025 01:274,14232,092,31511,361,0001,893,0002,490,368
7Apr 24, 2025 01:234,14329,276,40513,258,00002,502,656
8Apr 24, 2025 01:274,14734,569,74413,270,00002,273,280
9Apr 24, 2025 01:234,14941,286,82213,278,00002,273,280
10Apr 24, 2025 01:274,15029,154,95913,280,00002,531,328
11Apr 24, 2025 01:274,15134,620,53813,284,00002,494,464
12Apr 24, 2025 01:244,15631,605,41813,300,00002,273,280
13Apr 24, 2025 01:244,15830,745,57113,306,00002,273,280
14Apr 24, 2025 01:234,16127,551,63213,314,00002,531,328
15Apr 24, 2025 01:274,16426,403,86813,324,00002,273,280
16Apr 24, 2025 01:264,16526,257,18813,329,00002,273,280
17Apr 24, 2025 01:274,16526,098,07413,329,00002,273,280
18Apr 24, 2025 01:274,16628,842,10313,332,00002,494,464
19Apr 24, 2025 01:274,16925,556,25513,341,00002,531,328
20Apr 24, 2025 01:274,16933,456,76413,342,00002,273,280
21Apr 24, 2025 01:274,17437,234,15113,356,00002,494,464
22Apr 24, 2025 01:244,17527,523,05913,360,00002,273,280
23Apr 24, 2025 01:274,18127,495,73813,380,00002,273,280
24Apr 24, 2025 01:264,18226,454,67113,383,00002,531,328
25Apr 24, 2025 01:274,18531,887,94213,393,00002,498,560
26Apr 24, 2025 01:264,18932,006,97913,406,00002,273,280
27Apr 24, 2025 01:274,19427,681,36513,420,00002,273,280