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 listAug 3, 2024 19:39zielajzielajScore: 4,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:394,64742,384,96913,878,000991,0002,289,664
2Aug 3, 2024 19:394,65831,508,13313,914,000993,0002,269,184
3Aug 3, 2024 19:394,65935,635,26912,922,0001,988,0002,289,664
4Aug 3, 2024 19:394,66137,699,69012,926,0001,988,0002,281,472
5Aug 3, 2024 19:394,67542,339,72912,965,0001,994,0002,277,376
6Aug 3, 2024 19:394,68140,700,73512,981,0001,997,0002,289,664
7Aug 3, 2024 19:394,68633,380,33312,995,0001,999,0002,277,376
8Aug 3, 2024 19:394,70638,067,30314,055,0001,003,0002,289,664
9Aug 3, 2024 19:394,71733,098,59814,088,0001,006,0002,273,280
10Aug 3, 2024 19:394,88167,092,03315,618,80602,301,952
11Aug 3, 2024 19:394,92079,592,01615,743,04102,301,952
12Aug 3, 2024 19:394,97677,244,82915,921,72302,174,976