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 05:45Andrew MoonAndrew MoonScore: 5,466Success
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 05:455,40346,706,50415,257,0002,034,0002,265,088
2Jul 11, 2023 05:455,42440,906,07816,336,0001,021,0002,387,968
3Jul 11, 2023 05:455,42543,491,78917,361,00002,265,088
4Jul 11, 2023 05:455,43733,077,35016,375,0001,023,0002,396,160
5Jul 11, 2023 05:455,43835,867,90317,402,00002,392,064
6Jul 11, 2023 05:455,43843,793,80416,380,0001,023,0002,265,088
7Jul 11, 2023 05:455,46633,578,58717,490,00002,527,232
8Jul 11, 2023 05:455,47040,155,98916,475,0001,029,0002,265,088
9Jul 11, 2023 05:455,47838,486,00317,529,00002,265,088
10Jul 11, 2023 05:455,63878,294,03518,040,18502,269,184
11Jul 11, 2023 05:455,64093,416,45918,047,64902,277,376
12Jul 11, 2023 05:455,688110,494,45718,201,14602,281,472