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 27, 2021 09:17Ilya AniskovetsIlya AniskovetsScore: 5,500Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:175,46941,112,06416,472,0001,029,0002,289,664
2Oct 27, 2021 09:175,47435,642,16116,486,0001,030,0002,531,328
3Oct 27, 2021 09:175,47738,629,48117,527,00002,273,280
4Oct 27, 2021 09:175,47844,042,89616,500,0001,031,0002,269,184
5Oct 27, 2021 09:175,49433,377,49917,580,00002,289,664
6Oct 27, 2021 09:175,49534,640,81316,549,0001,034,0002,289,664
7Oct 27, 2021 09:175,50042,424,22916,564,0001,035,0002,289,664
8Oct 27, 2021 09:175,50850,434,16416,590,0001,036,0002,289,664
9Oct 27, 2021 09:175,51543,215,96916,610,0001,038,0002,289,664
10Oct 27, 2021 09:175,63496,674,95818,027,39102,179,072
11Oct 27, 2021 09:175,65998,618,00618,109,94902,293,760
12Oct 27, 2021 09:175,66287,564,88118,116,90602,301,952