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 29, 2024 20:33zielajzielajScore: 4,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2024 20:334,12128,649,09912,173,0001,014,0002,269,184
2Aug 29, 2024 20:334,14035,076,63613,249,00002,486,272
3Aug 29, 2024 20:344,14331,506,95713,259,00002,490,368
4Aug 29, 2024 20:334,14529,142,02612,244,0001,020,0002,269,184
5Aug 29, 2024 20:344,14632,452,84313,268,00002,494,464
6Aug 29, 2024 20:344,14825,228,48013,275,00002,498,560
7Aug 29, 2024 20:334,14934,868,31813,276,00002,269,184
8Aug 29, 2024 20:344,15034,573,24913,279,00002,494,464
9Aug 29, 2024 20:344,15032,036,31313,281,00002,269,184
10Aug 29, 2024 20:334,15342,770,37013,289,00002,269,184
11Aug 29, 2024 20:334,15332,472,36013,289,00002,502,656
12Aug 29, 2024 20:344,15529,340,47313,297,00002,531,328
13Aug 29, 2024 20:334,15729,150,77013,301,00002,494,464
14Aug 29, 2024 20:344,16340,977,04513,322,00002,502,656
15Aug 29, 2024 20:344,16429,451,53513,326,00002,498,560
16Aug 29, 2024 20:344,16830,048,42813,337,00002,498,560
17Aug 29, 2024 20:334,20439,451,62913,452,00002,531,328
18Aug 29, 2024 20:334,21528,968,23113,489,00002,494,464
19Aug 29, 2024 20:344,43271,099,42814,181,88602,240,512
20Aug 29, 2024 20:344,44447,486,82714,219,60402,236,416
21Aug 29, 2024 20:334,44869,758,37714,234,96702,240,512
22Aug 29, 2024 20:334,44898,008,50514,233,73402,240,512
23Aug 29, 2024 20:334,44957,328,05414,236,41702,236,416
24Aug 29, 2024 20:344,50267,044,44914,405,98702,371,584