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 15, 2024 13:45kytanskytansScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 13:455,19734,117,23616,631,00002,277,376
2Jul 15, 2024 13:455,19937,378,43716,637,00002,506,752
3Jul 15, 2024 13:455,21441,402,19916,684,00002,277,376
4Jul 15, 2024 13:455,21845,127,24816,697,00002,277,376
5Jul 15, 2024 13:455,22032,325,59916,705,00002,277,376
6Jul 15, 2024 13:455,22432,161,31016,718,00002,277,376
7Jul 15, 2024 13:455,27436,841,22615,884,000992,0002,277,376
8Jul 15, 2024 13:455,27532,238,63215,887,000992,0002,277,376
9Jul 15, 2024 13:455,27841,431,09315,897,000993,0002,277,376
10Jul 15, 2024 13:455,72680,690,76218,322,66702,285,568
11Jul 15, 2024 13:455,73279,252,91518,343,38802,281,472
12Jul 15, 2024 13:455,77478,990,10918,476,04802,277,376