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 8, 2024 10:50джулисджулисScore: 5,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 10:505,68140,944,65117,169,0001,009,0002,371,584
2Jun 8, 2024 10:505,68548,567,16116,172,0002,021,0002,371,584
3Jun 8, 2024 10:505,68844,766,91816,179,0002,022,0002,375,680
4Jun 8, 2024 10:505,69632,572,17216,202,0002,025,0002,379,776
5Jun 8, 2024 10:505,69739,440,02616,206,0002,025,0002,293,760
6Jun 8, 2024 10:505,70339,189,59417,235,0001,013,0002,289,664
7Jun 8, 2024 10:505,71541,035,51016,257,0002,032,0002,367,488
8Jun 8, 2024 10:505,73146,321,20717,320,0001,018,0002,363,392
9Jun 8, 2024 10:505,74943,422,45817,376,0001,022,0002,371,584
10Jun 8, 2024 10:505,894102,559,55518,859,55302,236,416
11Jun 8, 2024 10:505,91390,758,64518,922,75702,248,704
12Jun 8, 2024 10:505,92980,065,66618,974,03102,240,512