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 20, 2024 11:37Matt StuchlikMatt StuchlikScore: 5,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:374,96735,877,43313,908,0001,986,0002,273,280
2Jul 20, 2024 11:374,97932,967,81513,942,0001,991,0002,273,280
3Jul 20, 2024 11:374,98437,047,46613,956,0001,993,0002,289,664
4Jul 20, 2024 11:374,99437,526,09513,983,0001,997,0002,265,088
5Jul 20, 2024 11:374,99835,593,24313,995,0001,999,0002,289,664
6Jul 20, 2024 11:375,00344,839,43814,010,0002,001,0002,289,664
7Jul 20, 2024 11:375,01443,156,92914,040,0002,005,0002,289,664
8Jul 20, 2024 11:375,03636,673,03714,102,0002,014,0002,273,280
9Jul 20, 2024 11:375,04442,854,08514,125,0002,017,0002,269,184
10Jul 20, 2024 11:375,23283,274,13216,743,85602,293,760
11Jul 20, 2024 11:375,29489,117,26016,942,16002,281,472
12Jul 20, 2024 11:375,30175,997,95416,961,65702,285,568