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:20matsuoka-601matsuoka-601Score: 5,587Success
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:205,53042,703,95317,697,00002,523,136
2Jan 13, 2024 08:205,53241,480,07216,661,0001,041,0002,269,184
3Jan 13, 2024 08:205,58038,350,14817,857,00002,289,664
4Jan 13, 2024 08:205,58540,207,50515,886,0001,985,0002,289,664
5Jan 13, 2024 08:205,58539,630,61916,880,000992,0002,289,664
6Jan 13, 2024 08:205,58649,311,21115,889,0001,986,0002,273,280
7Jan 13, 2024 08:205,58742,153,97615,891,0001,986,0002,289,664
8Jan 13, 2024 08:205,58844,011,11015,896,0001,987,0002,523,136
9Jan 13, 2024 08:205,59543,789,87115,916,0001,989,0002,273,280
10Jan 13, 2024 08:205,63156,812,09618,020,63602,297,856
11Jan 13, 2024 08:205,65087,321,67018,079,73802,297,856
12Jan 13, 2024 08:205,68198,852,26718,179,59502,297,856