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 3, 2023 15:17Anılcan GülkayaAnılcan GülkayaScore: 5,689Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 15:175,64039,314,23916,043,0002,005,000180,224
2Jul 3, 2023 15:175,64338,911,44716,052,0002,006,000188,416
3Jul 3, 2023 15:175,65543,803,60016,086,0002,010,0002,289,664
4Jul 3, 2023 15:175,66643,746,76717,124,0001,007,000188,416
5Jul 3, 2023 15:175,67641,053,07916,145,0002,018,0002,289,664
6Jul 3, 2023 15:175,68239,990,46616,162,0002,020,0002,265,088
7Jul 3, 2023 15:175,68940,130,73316,182,0002,022,0002,289,664
8Jul 3, 2023 15:175,73440,886,58417,330,0001,019,0002,289,664
9Jul 3, 2023 15:175,75642,115,03316,374,0002,046,0002,289,664
10Jul 3, 2023 15:176,08378,115,35519,464,52402,289,664
11Jul 3, 2023 15:176,10785,514,28419,542,28502,297,856
12Jul 3, 2023 15:176,12589,363,50519,600,90202,301,952