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 12, 2024 03:42Yuriy LyfenkoYuriy LyfenkoScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:424,429646,175,64012,148,0002,024,0002,523,136
2Jun 12, 2024 03:424,437636,999,19112,170,0002,028,0002,265,088
3Jun 12, 2024 03:424,438639,880,44512,173,0002,028,0002,260,992
4Jun 12, 2024 03:424,445642,028,65612,192,0002,032,0002,260,992
5Jun 12, 2024 03:424,450637,867,96612,206,0002,034,0002,260,992
6Jun 12, 2024 03:424,455637,454,37114,255,00002,523,136
7Jun 12, 2024 03:424,463642,477,09514,280,00002,523,136
8Jun 12, 2024 03:424,472632,978,23113,288,0001,022,0002,265,088
9Jun 12, 2024 03:424,479640,380,70513,309,0001,023,0002,265,088
10Jun 12, 2024 03:424,615682,380,57114,766,90002,277,376
11Jun 12, 2024 03:424,626670,301,04714,801,99902,281,472
12Jun 12, 2024 03:424,666680,167,66114,931,48002,277,376