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 13, 2024 08:03matsuoka-601matsuoka-601Score: 5,924Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:035,86784,249,83518,773,75302,252,800
2Jan 13, 2024 08:035,89145,523,87718,851,00002,269,184
3Jan 13, 2024 08:035,89744,316,12016,883,0001,986,0002,289,664
4Jan 13, 2024 08:035,90540,384,21717,902,000994,0002,273,280
5Jan 13, 2024 08:035,91341,551,98417,927,000995,0002,289,664
6Jan 13, 2024 08:035,91538,964,13516,937,0001,992,0002,289,664
7Jan 13, 2024 08:035,92440,533,63616,962,0001,995,0002,269,184
8Jan 13, 2024 08:035,93244,682,54316,984,0001,998,0002,289,664
9Jan 13, 2024 08:035,93441,470,76616,991,0001,998,0002,367,488
10Jan 13, 2024 08:035,93642,956,63116,996,0001,999,0002,289,664
11Jan 13, 2024 08:036,11379,274,22019,560,69602,179,072
12Jan 13, 2024 08:036,13892,613,25319,642,47102,293,760