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 11, 2021 16:46Sergey StreminSergey StreminScore: 11,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:4611,574105,146,19337,038,14002,203,648
2May 11, 2021 16:5111,586111,774,21337,073,93002,215,936
3May 11, 2021 16:5111,60689,303,39437,138,21502,211,840
4May 11, 2021 16:4611,65186,534,31737,284,12902,207,744
5May 11, 2021 16:5111,66195,848,13637,313,79102,203,648
6May 11, 2021 16:5111,68199,105,72137,380,71102,203,648
7May 11, 2021 16:4611,68298,383,75537,381,86202,211,840
8May 11, 2021 16:4611,694114,836,34637,420,66602,211,840
9May 11, 2021 16:5111,705107,325,64437,456,57202,199,552
10May 11, 2021 16:5111,70877,047,50637,465,43402,203,648
11May 11, 2021 16:4611,75292,536,40037,605,10302,203,648
12May 11, 2021 16:4611,82696,623,30037,842,21902,203,648