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 19, 2024 18:09AnSaAnSaScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 18:095,49640,063,13216,554,0001,034,0002,281,472
2Jan 19, 2024 18:095,51545,177,55417,647,00002,506,752
3Jan 19, 2024 18:095,51643,003,76017,651,00002,281,472
4Jan 19, 2024 18:095,52847,900,81316,651,0001,040,0002,281,472
5Jan 19, 2024 18:095,53238,070,49217,701,00002,281,472
6Jan 19, 2024 18:095,54238,887,49517,735,00002,392,064
7Jan 19, 2024 18:095,58241,033,21116,870,000992,0002,281,472
8Jan 19, 2024 18:095,58535,010,60217,871,00002,396,160
9Jan 19, 2024 18:095,58643,746,67815,890,0001,986,0002,473,984
10Jan 19, 2024 18:095,61379,418,75317,962,38402,265,088
11Jan 19, 2024 18:095,646118,181,59718,065,82402,269,184
12Jan 19, 2024 18:095,68068,558,32018,177,39102,260,992