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 listJan 23, 2024 19:04AnSaAnSaScore: 5,203Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:045,15332,352,31415,460,0001,030,0002,392,064
2Jan 23, 2024 19:045,16236,005,88415,487,0001,032,0002,392,064
3Jan 23, 2024 19:045,17845,758,18116,570,00002,379,776
4Jan 23, 2024 19:045,17945,486,65815,539,0001,035,0002,281,472
5Jan 23, 2024 19:045,18539,041,39815,556,0001,037,0002,273,280
6Jan 23, 2024 19:045,18844,479,74616,603,00002,506,752
7Jan 23, 2024 19:045,20344,276,11716,649,00002,281,472
8Jan 23, 2024 19:045,21241,878,54915,636,0001,042,0002,281,472
9Jan 23, 2024 19:045,21748,921,99315,650,0001,043,0002,392,064
10Jan 23, 2024 19:045,38790,612,40917,239,90602,293,760
11Jan 23, 2024 19:045,39379,157,32517,258,95002,285,568
12Jan 23, 2024 19:045,41789,558,25917,334,41502,281,472