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 listApr 17, 2024 03:50Joad NacerJoad NacerScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:505,26845,087,88915,868,000991,0002,523,136
2Apr 17, 2024 03:505,26944,624,88814,878,0001,983,0002,289,664
3Apr 17, 2024 03:505,27534,762,87215,825,0001,055,0002,289,664
4Apr 17, 2024 03:505,27643,655,45614,897,0001,986,0002,289,664
5Apr 17, 2024 03:505,28539,669,44415,919,000994,0002,289,664
6Apr 17, 2024 03:505,28840,126,12214,930,0001,990,0002,281,472
7Apr 17, 2024 03:505,29235,446,31615,875,0001,058,0002,281,472
8Apr 17, 2024 03:505,29834,880,46414,961,0001,994,0002,289,664
9Apr 17, 2024 03:505,30942,343,49614,990,0001,998,0002,277,376
10Apr 17, 2024 03:505,487107,841,22617,557,63302,179,072
11Apr 17, 2024 03:505,53978,827,81017,726,12702,297,856
12Apr 17, 2024 03:505,54081,740,66817,728,26602,301,952