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 listJul 22, 2022 23:14Robert BurkeRobert BurkeScore: 4,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 23:144,73232,531,31813,123,0002,018,0002,281,472
2Jul 22, 2022 23:144,73431,059,24013,129,0002,019,0002,449,408
3Jul 22, 2022 23:144,73440,327,44913,129,0002,019,0002,453,504
4Jul 22, 2022 23:144,74035,378,68813,146,0002,022,0002,445,312
5Jul 22, 2022 23:144,74430,510,20213,157,0002,024,0002,281,472
6Jul 22, 2022 23:144,74436,229,64313,158,0002,024,0002,449,408
7Jul 22, 2022 23:144,75638,505,20813,190,0002,029,0002,281,472
8Jul 22, 2022 23:144,77233,470,14614,252,0001,018,0002,277,376
9Jul 22, 2022 23:144,77333,410,78414,255,0001,018,0002,281,472
10Jul 22, 2022 23:144,94784,921,97615,829,12002,211,840
11Jul 22, 2022 23:144,97679,069,52615,923,10302,195,456
12Jul 22, 2022 23:144,99189,571,27515,971,52802,211,840