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 14:51Jack FrigaardJack FrigaardScore: 5,506Success
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 14:515,47644,894,31016,492,0001,030,0002,273,280
2Jan 2, 2023 14:515,47933,684,25916,501,0001,031,0002,269,184
3Jan 2, 2023 14:515,48542,064,35516,521,0001,032,0002,285,568
4Jan 2, 2023 14:515,49844,841,69516,558,0001,034,0002,523,136
5Jan 2, 2023 14:515,50040,156,22716,566,0001,035,0002,531,328
6Jan 2, 2023 14:515,50145,194,65816,569,0001,035,0002,523,136
7Jan 2, 2023 14:515,50649,676,52316,584,0001,036,0002,269,184
8Jan 2, 2023 14:515,52037,136,89916,624,0001,039,0002,269,184
9Jan 2, 2023 14:515,52144,425,40617,667,00002,527,232
10Jan 2, 2023 14:515,77386,944,26418,473,21402,297,856
11Jan 2, 2023 14:515,830104,228,43618,656,11102,183,168
12Jan 2, 2023 14:515,85493,063,06218,733,23702,293,760