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 9, 2023 01:14Andrew MoonAndrew MoonScore: 5,355Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2023 01:145,31941,180,87215,019,0002,002,0002,265,088
2Jul 9, 2023 01:145,31940,757,81315,020,0002,002,0002,396,160
3Jul 9, 2023 01:145,32334,140,32915,031,0002,004,0002,265,088
4Jul 9, 2023 01:145,33343,478,73515,057,0002,007,0002,396,160
5Jul 9, 2023 01:145,34546,796,95316,099,0001,006,0002,265,088
6Jul 9, 2023 01:145,34940,023,71716,110,0001,006,0002,265,088
7Jul 9, 2023 01:145,35533,732,55416,129,0001,008,0002,265,088
8Jul 9, 2023 01:145,35744,796,42315,126,0002,016,0002,396,160
9Jul 9, 2023 01:145,39434,870,90915,230,0002,030,0002,396,160
10Jul 9, 2023 01:145,54184,985,68617,730,28902,289,664
11Jul 9, 2023 01:145,56486,895,78317,804,80402,273,280
12Jul 9, 2023 01:145,56466,799,26017,805,18102,281,472