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 4, 2024 23:48Drew GarciaDrew GarciaScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 23:485,57943,754,62915,871,0001,983,0002,281,472
2Apr 4, 2024 23:485,58238,165,84314,885,0002,977,0002,281,472
3Apr 4, 2024 23:485,58349,046,35916,872,000992,0002,281,472
4Apr 4, 2024 23:485,58433,526,12614,890,0002,978,0002,281,472
5Apr 4, 2024 23:485,58442,794,23515,884,0001,985,0002,281,472
6Apr 4, 2024 23:485,58647,390,90515,888,0001,986,0002,281,472
7Apr 4, 2024 23:485,58840,399,40415,894,0001,986,0002,281,472
8Apr 4, 2024 23:485,59343,214,61215,910,0001,988,0002,281,472
9Apr 4, 2024 23:485,60640,020,18615,947,0001,993,0002,273,280
10Apr 4, 2024 23:485,78292,562,24718,502,72902,191,360
11Apr 4, 2024 23:485,793104,701,64018,536,37802,301,952
12Apr 4, 2024 23:485,81878,912,55018,616,50402,306,048