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 listJul 26, 2024 20:14vientvientScore: 7,770Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:097,57668,982,90424,243,48702,211,840
2Jul 26, 2024 20:057,68090,351,35224,574,41102,334,720
3Jul 26, 2024 20:097,73583,422,05524,751,52302,199,552
4Jul 26, 2024 20:147,74196,021,06924,770,78402,195,456
5Jul 26, 2024 20:147,74782,566,41324,789,97002,199,552
6Jul 26, 2024 20:057,76098,485,49324,833,55402,195,456
7Jul 26, 2024 20:147,767102,441,84224,855,68302,195,456
8Jul 26, 2024 20:147,77096,643,35424,864,20902,203,648
9Jul 26, 2024 20:147,77087,573,04524,862,98302,322,432
10Jul 26, 2024 20:147,77483,449,58024,876,30002,199,552
11Jul 26, 2024 20:057,77690,963,75824,882,98302,334,720
12Jul 26, 2024 20:147,80081,393,21224,961,26902,199,552
13Jul 26, 2024 20:147,81767,724,53225,014,47002,199,552
14Jul 26, 2024 20:097,87587,280,60525,200,38902,207,744
15Jul 26, 2024 20:147,934104,067,59025,387,20202,191,360