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 24, 2024 02:02emily graceemily graceScore: 4,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 02:024,67531,080,96912,965,0001,994,0002,273,280
2Jul 24, 2024 02:024,67733,789,85212,972,0001,995,0002,289,664
3Jul 24, 2024 02:024,68337,443,07412,987,0001,998,0002,273,280
4Jul 24, 2024 02:024,69037,317,16413,006,0002,001,0002,269,184
5Jul 24, 2024 02:024,69133,011,96914,011,0001,000,0002,273,280
6Jul 24, 2024 02:024,69341,224,20613,017,0002,002,0002,281,472
7Jul 24, 2024 02:024,70334,445,56513,042,0002,006,0002,281,472
8Jul 24, 2024 02:024,70836,210,47213,056,0002,008,0002,277,376
9Jul 24, 2024 02:024,70936,529,07713,061,0002,009,0002,273,280
10Jul 24, 2024 02:024,90487,815,44215,692,76202,301,952
11Jul 24, 2024 02:024,91681,504,48215,732,13502,297,856
12Jul 24, 2024 02:024,91768,472,40315,733,06202,293,760