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:33Jack FrigaardJack FrigaardScore: 4,957Success
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:334,90032,757,87214,636,0001,045,0002,285,568
2Jan 2, 2023 16:334,90138,102,62614,639,0001,045,0002,523,136
3Jan 2, 2023 16:334,90831,137,73814,658,0001,047,0002,285,568
4Jan 2, 2023 16:334,91144,340,48114,667,0001,047,0002,285,568
5Jan 2, 2023 16:334,91838,798,39814,688,0001,049,0002,269,184
6Jan 2, 2023 16:334,95531,925,74913,874,0001,982,0002,527,232
7Jan 2, 2023 16:334,95741,862,18215,861,00002,523,136
8Jan 2, 2023 16:334,96343,600,44413,897,0001,985,0002,285,568
9Jan 2, 2023 16:334,96848,585,73513,912,0001,987,0002,285,568
10Jan 2, 2023 16:335,16880,431,18816,536,17902,293,760
11Jan 2, 2023 16:335,18679,988,82816,594,51102,297,856
12Jan 2, 2023 16:335,201106,498,33816,642,31002,289,664