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 listJun 2, 2021 15:58Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 15:585,05142,375,29215,153,0001,010,0002,387,968
2Jun 2, 2021 15:585,06149,693,73315,182,0001,012,0002,392,064
3Jun 2, 2021 15:585,06331,196,21115,189,0001,012,0002,383,872
4Jun 2, 2021 15:585,06341,976,33115,189,0001,012,0002,265,088
5Jun 2, 2021 15:585,06344,573,27915,190,0001,012,0002,387,968
6Jun 2, 2021 15:585,07743,822,73114,216,0002,030,0002,383,872
7Jun 2, 2021 15:585,08634,651,87715,258,0001,017,0002,265,088
8Jun 2, 2021 15:585,09037,809,01515,271,0001,018,0002,265,088
9Jun 2, 2021 15:585,09237,940,38715,276,0001,018,0002,506,752
10Jun 2, 2021 15:585,26879,851,09016,856,35502,285,568
11Jun 2, 2021 15:585,26886,722,84216,857,53502,281,472
12Jun 2, 2021 15:585,28980,695,83416,924,51902,240,512