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 13, 2021 10:59Dmitry DolgopolovDmitry DolgopolovScore: 5,436Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:595,39333,240,45115,229,0002,030,0002,453,504
2Jun 13, 2021 10:595,40336,432,53416,274,0001,017,0002,445,312
3Jun 13, 2021 10:595,40638,733,06216,282,0001,017,0002,445,312
4Jun 13, 2021 10:595,40733,478,62616,286,0001,017,0002,531,328
5Jun 13, 2021 10:595,41839,105,91616,318,0001,019,0002,445,312
6Jun 13, 2021 10:595,42043,331,23316,323,0001,020,0002,445,312
7Jun 13, 2021 10:595,43643,892,71416,371,0001,023,0002,441,216
8Jun 13, 2021 10:595,44346,978,74216,394,0001,024,0002,527,232
9Jun 13, 2021 10:595,45235,763,68316,419,0001,026,0002,531,328
10Jun 13, 2021 10:595,62084,459,87517,984,46102,203,648
11Jun 13, 2021 10:595,63980,964,99218,046,00202,203,648
12Jun 13, 2021 10:595,67376,042,84418,153,50402,207,744