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 22:20Robert BurkeRobert BurkeScore: 4,737Success
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 22:204,68434,822,50612,992,0001,998,0002,441,216
2Jul 22, 2022 22:204,70640,439,68213,052,0002,008,0002,453,504
3Jul 22, 2022 22:204,72033,157,01113,090,0002,013,0002,281,472
4Jul 22, 2022 22:204,72131,229,06513,092,0002,014,0002,449,408
5Jul 22, 2022 22:204,73137,822,27113,121,0002,018,0002,457,600
6Jul 22, 2022 22:204,73432,016,65313,130,0002,020,0002,453,504
7Jul 22, 2022 22:204,73736,389,63613,137,0002,021,0002,281,472
8Jul 22, 2022 22:204,73931,460,59913,144,0002,022,0002,535,424
9Jul 22, 2022 22:204,74736,189,60213,165,0002,025,0002,535,424
10Jul 22, 2022 22:204,91668,593,70815,731,24902,195,456
11Jul 22, 2022 22:204,91776,221,09515,735,50302,199,552
12Jul 22, 2022 22:204,93381,990,32015,785,28902,195,456