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 listDec 25, 2021 02:05Alexander KimAlexander KimScore: 5,719Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 02:055,67851,424,05416,151,0002,018,0002,334,720
2Dec 25, 2021 02:055,68042,893,63315,147,0003,029,0002,334,720
3Dec 25, 2021 02:055,69240,750,52216,190,0002,023,0002,334,720
4Dec 25, 2021 02:055,69642,974,05916,202,0002,025,0002,342,912
5Dec 25, 2021 02:055,70039,016,66317,226,0001,013,0002,334,720
6Dec 25, 2021 02:055,70636,096,47817,184,0001,074,0002,334,720
7Dec 25, 2021 02:055,71988,577,39818,301,52502,281,472
8Dec 25, 2021 02:055,72467,714,38518,317,32202,281,472
9Dec 25, 2021 02:055,72443,427,26115,265,0003,053,0002,334,720
10Dec 25, 2021 02:055,72947,094,93117,316,0001,018,0002,310,144
11Dec 25, 2021 02:055,75243,125,02216,360,0002,045,0002,334,720
12Dec 25, 2021 02:055,75493,580,14418,413,87702,281,472