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 listOct 30, 2023 21:27goon-goon-Score: 5,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 21:275,43042,491,85316,354,0001,022,0002,265,088
2Oct 30, 2023 21:275,44136,539,31316,387,0001,024,0002,265,088
3Oct 30, 2023 21:275,44439,994,92616,398,0001,024,0002,383,872
4Oct 30, 2023 21:275,44943,036,37616,413,0001,025,0002,387,968
5Oct 30, 2023 21:275,45344,870,60317,450,00002,265,088
6Oct 30, 2023 21:275,46247,314,83817,477,00002,379,776
7Oct 30, 2023 21:275,46334,125,24117,483,00002,527,232
8Oct 30, 2023 21:275,46539,919,68517,488,00002,265,088
9Oct 30, 2023 21:275,47647,947,13116,551,000973,0002,265,088
10Oct 30, 2023 21:275,65875,147,01018,106,27602,285,568
11Oct 30, 2023 21:275,658107,993,80418,106,99402,281,472
12Oct 30, 2023 21:275,65866,514,07518,106,86102,273,280