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:47Jack FrigaardJack FrigaardScore: 4,905Success
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:474,87149,031,38614,549,0001,039,0002,285,568
2Jan 2, 2023 16:474,87633,861,60714,563,0001,040,0002,285,568
3Jan 2, 2023 16:474,88334,382,86714,585,0001,041,0002,285,568
4Jan 2, 2023 16:474,89231,334,29214,611,0001,043,0002,535,424
5Jan 2, 2023 16:474,89732,324,56614,627,0001,044,0002,523,136
6Jan 2, 2023 16:474,90532,232,76214,649,0001,046,0002,285,568
7Jan 2, 2023 16:474,90536,003,89014,651,0001,046,0002,285,568
8Jan 2, 2023 16:474,95833,070,66614,873,000991,0002,285,568
9Jan 2, 2023 16:474,96045,612,34314,880,000992,0002,527,232
10Jan 2, 2023 16:475,12278,099,82416,390,97302,306,048
11Jan 2, 2023 16:475,13777,715,82316,438,00702,301,952
12Jan 2, 2023 16:475,16286,478,63416,519,88002,293,760