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 22, 2024 12:30matsuoka-601matsuoka-601Score: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:305,45840,246,34917,467,00002,273,280
2Jan 22, 2024 12:305,46840,587,27217,497,00002,293,760
3Jan 22, 2024 12:305,47134,990,64916,479,0001,029,0002,293,760
4Jan 22, 2024 12:305,47942,958,33816,501,0001,031,0002,531,328
5Jan 22, 2024 12:305,48142,154,97417,539,00002,387,968
6Jan 22, 2024 12:305,48340,541,74617,545,00002,293,760
7Jan 22, 2024 12:305,48838,581,54116,530,0001,033,0002,293,760
8Jan 22, 2024 12:305,49847,450,19516,559,0001,034,0002,293,760
9Jan 22, 2024 12:305,53544,419,83016,670,0001,041,0002,293,760
10Jan 22, 2024 12:305,64177,995,84018,051,77002,306,048
11Jan 22, 2024 12:305,65282,115,66318,085,95602,306,048
12Jan 22, 2024 12:305,66079,655,27118,111,66102,301,952