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 listMar 25, 2025 18:14wainCGPwainCGPScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 18:145,27447,297,98615,885,000992,0002,428,928
2Mar 25, 2025 18:145,28532,978,39915,917,000994,0002,416,640
3Mar 25, 2025 18:145,28536,216,44415,918,000994,0002,531,328
4Mar 25, 2025 18:145,28538,593,32916,913,00002,531,328
5Mar 25, 2025 18:145,30445,967,52715,975,000998,0002,531,328
6Mar 25, 2025 18:145,31847,264,51616,016,0001,001,0002,428,928
7Mar 25, 2025 18:145,32138,390,61515,024,0002,003,0002,428,928
8Mar 25, 2025 18:145,32845,213,33516,047,0001,002,0002,420,736
9Mar 25, 2025 18:145,33635,262,80115,067,0002,009,0002,531,328