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 18:34Joad NacerJoad NacerScore: 4,974Success
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 18:344,95241,702,14515,846,00002,269,184
2Apr 17, 2024 18:344,95733,871,24114,870,000991,0002,289,664
3Apr 17, 2024 18:344,95933,057,20013,885,0001,983,0002,289,664
4Apr 17, 2024 18:344,96332,692,09914,890,000992,0002,289,664
5Apr 17, 2024 18:344,97037,129,61014,911,000994,0002,289,664
6Apr 17, 2024 18:344,97341,292,64313,925,0001,989,0002,289,664
7Apr 17, 2024 18:344,97437,268,22913,929,0001,989,0002,289,664
8Apr 17, 2024 18:344,97840,450,36313,939,0001,991,0002,273,280
9Apr 17, 2024 18:345,00137,109,02714,002,0002,000,0002,289,664
10Apr 17, 2024 18:345,14163,979,58816,451,83602,306,048
11Apr 17, 2024 18:345,14561,645,53016,463,38702,179,072
12Apr 17, 2024 18:345,16171,918,01516,513,64202,301,952