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 20:46Dmitry DolgopolovDmitry DolgopolovScore: 5,320Success
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 20:465,27836,451,31214,902,0001,986,0002,449,408
2Jun 2, 2021 20:465,27836,744,17614,904,0001,987,0002,453,504
3Jun 2, 2021 20:465,29240,163,72114,941,0001,992,0002,441,216
4Jun 2, 2021 20:465,29637,570,49214,954,0001,993,0002,269,184
5Jun 2, 2021 20:465,29739,997,38614,955,0001,994,0002,441,216
6Jun 2, 2021 20:465,31347,256,16715,000,0002,000,0002,269,184
7Jun 2, 2021 20:465,32040,454,60115,021,0002,002,0002,531,328
8Jun 2, 2021 20:465,32931,739,12515,048,0002,006,0002,265,088
9Jun 2, 2021 20:465,34038,372,90915,077,0002,010,0002,531,328
10Jun 2, 2021 20:465,50375,294,35517,609,70202,199,552
11Jun 2, 2021 20:465,51658,501,15517,652,43602,195,456
12Jun 2, 2021 20:465,52681,286,01317,683,80302,199,552