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 23, 2022 01:41Robert BurkeRobert BurkeScore: 4,603Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 01:414,56831,222,30013,573,0001,044,0002,453,504
2Jul 23, 2022 01:414,58235,107,07913,615,0001,047,0002,449,408
3Jul 23, 2022 01:414,58332,718,01413,617,0001,047,0002,449,408
4Jul 23, 2022 01:414,58729,234,53613,631,0001,048,0002,281,472
5Jul 23, 2022 01:414,58839,233,91513,633,0001,048,0002,281,472
6Jul 23, 2022 01:414,59132,279,19813,641,0001,049,0002,453,504
7Jul 23, 2022 01:414,60340,696,97213,676,0001,052,0002,445,312
8Jul 23, 2022 01:414,64827,958,61512,891,0001,983,0002,281,472
9Jul 23, 2022 01:414,64831,299,26313,883,000991,0002,281,472
10Jul 23, 2022 01:414,82685,164,24815,444,49102,199,552
11Jul 23, 2022 01:414,84962,079,55515,517,05602,203,648
12Jul 23, 2022 01:414,85957,917,51615,549,31102,203,648