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 listJun 9, 2024 15:03matsuoka-601matsuoka-601Score: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:034,77838,271,40713,250,0002,038,0002,285,568
2Jun 9, 2024 15:034,78732,971,18013,277,0002,042,0002,277,376
3Jun 9, 2024 15:034,78935,112,45713,281,0002,043,0002,293,760
4Jun 9, 2024 15:034,81438,763,68514,378,0001,027,0002,293,760
5Jun 9, 2024 15:034,81837,844,86514,389,0001,027,0002,363,392
6Jun 9, 2024 15:034,82537,881,91014,411,0001,029,0002,293,760
7Jun 9, 2024 15:034,82532,898,84615,441,00002,293,760
8Jun 9, 2024 15:034,83538,336,39814,440,0001,031,0002,293,760
9Jun 9, 2024 15:034,84243,598,84714,461,0001,032,0002,293,760
10Jun 9, 2024 15:035,04159,206,26016,130,12902,195,456
11Jun 9, 2024 15:035,04489,761,61516,139,59602,183,168
12Jun 9, 2024 15:035,09487,252,01116,300,87602,306,048