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 9, 2024 19:58джулисджулисScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:585,28941,972,87115,930,000995,0002,359,296
2Jun 9, 2024 19:585,29147,899,09215,935,000995,0002,375,680
3Jun 9, 2024 19:585,30145,768,09714,967,0001,995,0002,293,760
4Jun 9, 2024 19:585,30143,867,46914,968,0001,995,0002,379,776
5Jun 9, 2024 19:585,30436,430,26615,975,000998,0002,293,760
6Jun 9, 2024 19:585,31248,860,74915,998,000999,0002,367,488
7Jun 9, 2024 19:585,32334,275,75915,030,0002,004,0002,293,760
8Jun 9, 2024 19:585,33533,477,72415,064,0002,008,0002,371,584
9Jun 9, 2024 19:585,33835,440,91017,082,00002,293,760
10Jun 9, 2024 19:585,54680,288,36917,746,41702,248,704
11Jun 9, 2024 19:585,58879,571,45117,880,06202,252,800
12Jun 9, 2024 19:585,60081,140,70417,920,50602,240,512