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 listMar 15, 2023 22:21Alexander MonakovAlexander MonakovScore: 5,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 22:215,41033,317,21917,313,00002,396,160
2Mar 15, 2023 22:215,41345,328,14716,302,0001,018,0002,281,472
3Mar 15, 2023 22:215,41532,731,03816,309,0001,019,0002,281,472
4Mar 15, 2023 22:215,41842,342,69216,318,0001,019,0002,281,472
5Mar 15, 2023 22:215,42842,656,62316,350,0001,021,0002,281,472
6Mar 15, 2023 22:215,44334,526,98516,395,0001,024,0002,404,352
7Mar 15, 2023 22:215,44833,399,03516,407,0001,025,0002,281,472
8Mar 15, 2023 22:215,47839,829,82416,497,0001,031,0002,400,256
9Mar 15, 2023 22:215,47831,931,11416,497,0001,031,0002,281,472
10Mar 15, 2023 22:215,59880,463,75817,914,74402,293,760
11Mar 15, 2023 22:215,61675,474,20117,971,36302,297,856
12Mar 15, 2023 22:215,65374,320,40818,088,06102,297,856