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 26, 2021 22:05Alexander KimAlexander KimScore: 5,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 22:055,69139,216,67917,200,0001,011,0002,297,856
2Dec 26, 2021 22:055,70035,108,56217,227,0001,013,0002,334,720
3Dec 26, 2021 22:055,70337,842,68317,235,0001,013,0002,297,856
4Dec 26, 2021 22:055,70743,833,74317,247,0001,014,0002,334,720
5Dec 26, 2021 22:055,71341,705,43117,265,0001,015,0002,334,720
6Dec 26, 2021 22:055,73245,083,43717,323,0001,019,0002,293,760
7Dec 26, 2021 22:055,73639,399,70515,296,0003,059,0002,297,856
8Dec 26, 2021 22:055,74434,539,31217,359,0001,021,0002,334,720
9Dec 26, 2021 22:055,74446,661,97316,338,0002,042,0002,297,856
10Dec 26, 2021 22:055,75194,648,53418,404,65502,256,896
11Dec 26, 2021 22:055,80983,966,63018,589,45302,273,280
12Dec 26, 2021 22:055,82191,398,85918,627,37002,277,376