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 listNov 1, 2021 13:23Ilya AniskovetsIlya AniskovetsScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 13:235,35846,125,09815,128,0002,017,0002,265,088
2Nov 1, 2021 13:235,36942,658,26615,161,0002,021,0002,265,088
3Nov 1, 2021 13:235,37143,474,45816,177,0001,011,0002,265,088
4Nov 1, 2021 13:235,37351,398,75416,181,0001,011,0002,265,088
5Nov 1, 2021 13:235,37847,609,42715,185,0002,024,0002,265,088
6Nov 1, 2021 13:235,38145,130,98215,193,0002,025,0002,510,848
7Nov 1, 2021 13:235,39443,284,21916,246,0001,015,0002,265,088
8Nov 1, 2021 13:235,39541,485,93916,250,0001,015,0002,265,088
9Nov 1, 2021 13:235,41943,091,92215,300,0002,040,0002,527,232
10Nov 1, 2021 13:235,55381,331,51617,769,68202,277,376
11Nov 1, 2021 13:235,55486,059,56617,773,63002,277,376
12Nov 1, 2021 13:235,57466,542,23717,838,07502,273,280