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 18:22Dmitry DolgopolovDmitry DolgopolovScore: 5,053Success
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 18:225,02237,206,83114,062,0002,008,0002,441,216
2May 24, 2021 18:225,02642,207,01314,072,0002,010,0002,445,312
3May 24, 2021 18:225,03142,027,57114,088,0002,012,0002,273,280
4May 24, 2021 18:225,04142,609,74114,116,0002,016,0002,449,408
5May 24, 2021 18:225,04637,238,52314,129,0002,018,0002,445,312
6May 24, 2021 18:225,04830,299,76914,136,0002,019,0002,535,424
7May 24, 2021 18:225,05337,964,64314,147,0002,021,0002,535,424
8May 24, 2021 18:225,05528,992,62014,154,0002,022,0002,535,424
9May 24, 2021 18:225,06935,868,70714,195,0002,027,0002,535,424
10May 24, 2021 18:225,23456,204,77216,749,04702,203,648
11May 24, 2021 18:225,28583,542,30316,911,63302,203,648
12May 24, 2021 18:225,54275,509,92917,734,52502,203,648