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 listOct 6, 2024 09:31Alexis EngelkeAlexis EngelkeScore: 5,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2024 09:315,18442,758,69816,590,00002,277,376
2Oct 6, 2024 09:315,19543,981,87616,625,00002,502,656
3Oct 6, 2024 09:315,19735,409,28416,629,00002,277,376
4Oct 6, 2024 09:315,20945,596,31816,669,00002,494,464
5Oct 6, 2024 09:315,21236,052,68716,677,00002,502,656
6Oct 6, 2024 09:315,21446,620,57316,686,00002,277,376
7Oct 6, 2024 09:315,22032,922,70616,705,00002,498,560
8Oct 6, 2024 09:315,27543,946,73515,887,000992,0002,494,464
9Oct 6, 2024 09:315,27941,425,94314,905,0001,987,0002,502,656