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 listSep 20, 2022 03:14Kenneth MaplesKenneth MaplesScore: 5,133Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2022 03:145,09438,371,40315,282,0001,018,0002,379,776
2Sep 20, 2022 03:145,10935,365,43615,329,0001,021,0002,387,968
3Sep 20, 2022 03:145,11136,791,44215,332,0001,022,0002,510,848
4Sep 20, 2022 03:145,11239,166,82115,335,0001,022,0002,265,088
5Sep 20, 2022 03:145,12341,213,78115,368,0001,024,0002,392,064
6Sep 20, 2022 03:145,12643,927,16716,404,00002,392,064
7Sep 20, 2022 03:145,13341,605,53316,424,00002,383,872
8Sep 20, 2022 03:145,15042,499,46916,480,00002,387,968
9Sep 20, 2022 03:145,15535,007,38416,497,00002,265,088
10Sep 20, 2022 03:145,31292,599,45316,997,44002,285,568
11Sep 20, 2022 03:145,36293,620,41817,157,50102,281,472
12Sep 20, 2022 03:145,38373,075,74817,224,80902,277,376