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, 2023 08:59Pavel ZagrebinPavel ZagrebinScore: 5,299Success
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, 2023 08:595,27734,814,05514,901,0001,986,0002,269,184
2Oct 6, 2023 08:595,27932,689,58314,906,0001,987,0002,269,184
3Oct 6, 2023 08:595,28132,366,91814,911,0001,988,0002,392,064
4Oct 6, 2023 08:595,29037,236,03914,937,0001,991,0002,265,088
5Oct 6, 2023 08:595,29347,121,04915,941,000996,0002,383,872
6Oct 6, 2023 08:595,29943,082,44815,959,000997,0002,392,064
7Oct 6, 2023 08:595,29944,826,92215,960,000997,0002,383,872
8Oct 6, 2023 08:595,32133,340,89815,025,0002,003,0002,265,088
9Oct 6, 2023 08:595,35146,003,02916,116,0001,007,0002,265,088
10Oct 6, 2023 08:595,50979,008,40917,629,98802,285,568
11Oct 6, 2023 08:595,51288,542,48217,637,27902,281,472
12Oct 6, 2023 08:595,53485,151,21417,709,37902,285,568