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 30, 2023 21:15goon-goon-Score: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 21:155,53947,570,14016,683,0001,042,0002,383,872
2Oct 30, 2023 21:155,56546,845,42715,830,0001,978,0002,265,088
3Oct 30, 2023 21:155,57745,241,11915,864,0001,983,0002,387,968
4Oct 30, 2023 21:155,57843,768,57016,858,000991,0002,392,064
5Oct 30, 2023 21:155,57941,796,71416,863,000991,0002,527,232
6Oct 30, 2023 21:155,58443,764,26016,876,000992,0002,265,088
7Oct 30, 2023 21:155,58433,843,11716,878,000992,0002,265,088
8Oct 30, 2023 21:155,58642,226,68415,888,0001,986,0002,396,160
9Oct 30, 2023 21:155,58638,075,82216,881,000993,0002,379,776
10Oct 30, 2023 21:155,73870,461,02618,361,81002,281,472
11Oct 30, 2023 21:155,76584,668,84718,447,91302,285,568
12Oct 30, 2023 21:155,76593,249,15318,448,74202,281,472