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 listMay 22, 2021 18:38Andrey TsvetkovAndrey TsvetkovScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:385,71374,512,21218,282,64402,236,416
2May 22, 2021 18:385,77194,694,27418,467,79302,236,416
3May 22, 2021 18:385,79478,822,78318,542,31302,232,320
4May 22, 2021 18:385,79443,114,18216,481,0002,060,0002,334,720
5May 22, 2021 18:385,79844,063,79817,525,0001,030,0002,334,720
6May 22, 2021 18:385,80563,638,11718,577,37502,232,320
7May 22, 2021 18:385,80638,248,44216,515,0002,064,0002,527,232
8May 22, 2021 18:385,80942,636,86017,558,0001,032,0002,527,232
9May 22, 2021 18:385,82333,198,73016,564,0002,070,0002,531,328
10May 22, 2021 18:385,82935,677,76216,582,0002,072,0002,314,240
11May 22, 2021 18:385,83031,919,47417,621,0001,036,0002,334,720
12May 22, 2021 18:385,84245,381,24116,618,0002,077,0002,330,624
13May 22, 2021 18:385,90888,078,34718,904,37802,224,128
14May 22, 2021 18:385,90943,034,49715,923,0002,985,0002,531,328
15May 22, 2021 18:385,96489,923,98619,084,24202,220,032