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 listJan 1, 2023 18:32Hal FHal FScore: 5,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 18:325,05337,751,53014,149,0002,021,0002,289,664
2Jan 1, 2023 18:325,10832,092,74914,301,0002,043,0002,289,664
3Jan 1, 2023 18:325,12538,825,68016,401,00002,269,184
4Jan 1, 2023 18:325,12850,196,25315,383,0001,025,0002,289,664
5Jan 1, 2023 18:325,12834,298,87215,386,0001,025,0002,269,184
6Jan 1, 2023 18:325,14335,384,13415,428,0001,028,0002,289,664
7Jan 1, 2023 18:325,16432,657,96915,493,0001,032,0002,277,376
8Jan 1, 2023 18:325,16841,850,79915,506,0001,033,0002,531,328
9Jan 1, 2023 18:325,73486,006,72718,348,95402,293,760
10Jan 1, 2023 18:325,79840,069,23317,523,0001,030,0002,289,664
11Jan 1, 2023 18:325,80184,461,93418,564,42102,306,048
12Jan 1, 2023 18:326,295106,012,09320,144,30102,297,856