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 listAug 17, 2024 20:41zielajzielajScore: 4,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 20:434,13728,618,81312,221,0001,018,0002,494,464
2Aug 17, 2024 20:434,14030,464,52212,229,0001,019,0002,494,464
3Aug 17, 2024 20:414,14129,247,25213,250,00002,490,368
4Aug 17, 2024 20:434,14429,521,21713,260,00002,531,328
5Aug 17, 2024 20:414,14632,495,06913,267,00002,494,464
6Aug 17, 2024 20:434,14632,161,80612,248,0001,020,0002,494,464
7Aug 17, 2024 20:434,14733,599,73213,269,00002,269,184
8Aug 17, 2024 20:414,15332,140,96813,289,00002,531,328
9Aug 17, 2024 20:434,15327,350,36713,291,00002,269,184
10Aug 17, 2024 20:414,15538,569,60613,297,00002,269,184
11Aug 17, 2024 20:434,15830,673,69413,305,00002,494,464
12Aug 17, 2024 20:414,16230,586,13213,317,00002,531,328
13Aug 17, 2024 20:434,16242,341,92513,317,00002,531,328
14Aug 17, 2024 20:434,16234,279,72113,319,00002,531,328
15Aug 17, 2024 20:414,16727,679,71112,308,0001,025,0002,486,272
16Aug 17, 2024 20:414,16730,891,07412,309,0001,025,0002,486,272
17Aug 17, 2024 20:414,16829,185,98812,313,0001,026,0002,531,328
18Aug 17, 2024 20:414,20328,785,45712,415,0001,034,0002,490,368
19Aug 17, 2024 20:434,44690,193,20814,227,28902,236,416
20Aug 17, 2024 20:414,44796,412,52514,231,25402,240,512
21Aug 17, 2024 20:434,44866,262,07314,235,04602,244,608
22Aug 17, 2024 20:414,45292,946,39214,245,60502,232,320
23Aug 17, 2024 20:434,46079,406,07714,271,40702,244,608
24Aug 17, 2024 20:414,50281,737,98414,405,04802,371,584