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 18, 2024 18:21Robert BurkeRobert BurkeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 18:2400000Error: expected "976922 ", got "975024 "stderr
2Apr 18, 2024 18:2500000Error: expected "976256 ", got "974305 "stderr
3Apr 18, 2024 18:214,59137,521,44313,642,0001,049,0002,281,472
4Apr 18, 2024 18:214,59245,264,09913,644,0001,049,0002,281,472
5Apr 18, 2024 18:214,59229,629,91213,644,0001,049,0002,531,328
6Apr 18, 2024 18:214,59441,365,39813,651,0001,050,0002,449,408
7Apr 18, 2024 18:214,59435,379,69413,652,0001,050,0002,281,472
8Apr 18, 2024 18:214,60345,398,60413,676,0001,052,0002,457,600
9Apr 18, 2024 18:214,60529,680,08913,683,0001,052,0002,453,504
10Apr 18, 2024 18:214,64330,399,57613,869,000990,0002,453,504
11Apr 18, 2024 18:214,64932,734,57912,895,0001,983,0002,457,600
12Apr 18, 2024 18:214,82880,466,20415,449,20802,256,896
13Apr 18, 2024 18:214,86782,528,11515,573,87402,199,552
14Apr 18, 2024 18:214,87581,115,46815,598,62202,203,648