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,962Success
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,88337,898,27814,585,0001,041,0002,285,568
2Jan 2, 2023 16:334,89232,926,11214,610,0001,043,0002,285,568
3Jan 2, 2023 16:334,89740,670,25014,625,0001,044,0002,269,184
4Jan 2, 2023 16:334,90632,778,32414,653,0001,046,0002,523,136
5Jan 2, 2023 16:334,94631,536,79913,849,0001,978,0002,523,136
6Jan 2, 2023 16:334,95633,219,48714,867,000991,0002,285,568
7Jan 2, 2023 16:334,96242,965,71414,885,000992,0002,273,280
8Jan 2, 2023 16:334,96333,205,66013,897,0001,985,0002,527,232
9Jan 2, 2023 16:334,96443,358,52315,885,00002,285,568
10Jan 2, 2023 16:335,13981,364,69116,443,31202,293,760
11Jan 2, 2023 16:335,17655,039,11416,562,18002,297,856
12Jan 2, 2023 16:335,19179,221,93316,610,38802,306,048