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 26, 2022 12:22Keichi TakahashiKeichi TakahashiScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:225,28443,148,38914,919,0001,989,0002,396,160
2May 26, 2022 12:225,28547,754,68114,923,0001,989,0002,392,064
3May 26, 2022 12:225,30149,574,15814,969,0001,995,0002,379,776
4May 26, 2022 12:225,31631,411,24915,009,0002,001,0002,265,088
5May 26, 2022 12:225,32133,658,74616,026,0001,001,0002,383,872
6May 26, 2022 12:225,32248,489,49515,027,0002,003,0002,392,064
7May 26, 2022 12:225,32834,476,50415,043,0002,005,0002,392,064
8May 26, 2022 12:225,33633,778,89615,067,0002,008,0002,265,088
9May 26, 2022 12:225,35550,863,10615,121,0002,016,0002,478,080
10May 26, 2022 12:225,49195,448,77017,572,31902,273,280
11May 26, 2022 12:225,51272,237,25317,637,06402,281,472
12May 26, 2022 12:225,51786,144,65017,655,23302,273,280