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 2, 2023 16:55Jack FrigaardJack FrigaardScore: 4,860Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:554,80535,753,72614,352,0001,025,0002,285,568
2Jan 2, 2023 16:554,80938,521,04813,337,0002,051,0002,285,568
3Jan 2, 2023 16:554,82035,017,54514,397,0001,028,0002,285,568
4Jan 2, 2023 16:554,82729,912,38414,416,0001,029,0002,527,232
5Jan 2, 2023 16:554,83835,190,26114,450,0001,032,0002,285,568
6Jan 2, 2023 16:554,85832,702,59914,511,0001,036,0002,277,376
7Jan 2, 2023 16:554,86038,710,18414,515,0001,036,0002,285,568
8Jan 2, 2023 16:554,88336,593,81814,586,0001,041,0002,285,568
9Jan 2, 2023 16:554,89241,143,21114,611,0001,043,0002,273,280
10Jan 2, 2023 16:555,07587,194,71116,239,38302,306,048
11Jan 2, 2023 16:555,09882,092,05016,315,03802,183,168
12Jan 2, 2023 16:555,11371,309,10716,363,12902,297,856