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 11, 2023 01:54Giga BowserGiga BowserScore: 5,579Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 01:545,50038,534,04017,601,00002,273,280
2Jul 11, 2023 01:545,51745,337,48217,654,00002,379,776
3Jul 11, 2023 01:545,53144,829,75416,659,0001,041,0002,273,280
4Jul 11, 2023 01:545,54343,705,66416,695,0001,043,0002,281,472
5Jul 11, 2023 01:545,57645,982,91916,851,000991,0002,289,664
6Jul 11, 2023 01:545,57744,245,62716,854,000991,0002,277,376
7Jul 11, 2023 01:545,57946,900,61915,871,0001,983,0002,269,184
8Jul 11, 2023 01:545,58044,218,66016,864,000992,0002,289,664
9Jul 11, 2023 01:545,58545,333,50516,880,000992,0002,289,664
10Jul 11, 2023 01:545,70994,334,61018,269,78902,301,952
11Jul 11, 2023 01:545,73480,353,01918,348,53502,301,952
12Jul 11, 2023 01:545,74472,492,73118,380,07502,285,568