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 listMay 24, 2021 17:52Yuriy LyfenkoYuriy LyfenkoScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 17:525,60840,449,33316,948,000996,0002,527,232
2May 24, 2021 17:525,61346,252,79416,965,000997,0002,265,088
3May 24, 2021 17:525,62345,840,91316,993,000999,0002,265,088
4May 24, 2021 17:525,63348,393,41916,022,0002,002,0002,265,088
5May 24, 2021 17:525,63347,313,16517,025,0001,001,0002,265,088
6May 24, 2021 17:525,63847,008,50517,041,0001,002,0002,527,232
7May 24, 2021 17:525,64247,888,46817,051,0001,003,0002,523,136
8May 24, 2021 17:525,64934,873,86116,070,0002,008,0002,265,088
9May 24, 2021 17:525,67634,086,41717,153,0001,009,0002,265,088
10May 24, 2021 17:525,79847,932,90518,553,23802,277,376
11May 24, 2021 17:525,80559,598,99418,577,07702,269,184
12May 24, 2021 17:525,82862,107,76118,648,98602,277,376