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 30, 2024 11:46BenBenScore: 4,980Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:464,96142,550,32014,884,000992,0002,265,088
2Jul 30, 2024 11:464,96338,040,60714,889,000992,0002,379,776
3Jul 30, 2024 11:464,96334,066,43315,882,00002,383,872
4Jul 30, 2024 11:464,96432,488,83114,894,000992,0002,265,088
5Jul 30, 2024 11:464,97143,689,05514,846,0001,060,0002,375,680
6Jul 30, 2024 11:464,97743,068,44414,932,000995,0002,375,680
7Jul 30, 2024 11:464,98033,301,31713,945,0001,992,0002,375,680
8Jul 30, 2024 11:464,99135,406,72314,974,000998,0002,375,680
9Jul 30, 2024 11:465,00234,427,48715,005,0001,000,0002,375,680
10Jul 30, 2024 11:465,23070,452,69516,736,50702,277,376
11Jul 30, 2024 11:465,24759,060,33916,791,00702,269,184
12Jul 30, 2024 11:465,26995,993,47216,862,16702,265,088