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:39Yuriy LyfenkoYuriy LyfenkoScore: 4,465Success
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:394,431641,575,89413,167,0001,012,0002,260,992
2Jun 12, 2024 03:394,431640,218,23012,154,0002,025,0002,260,992
3Jun 12, 2024 03:394,438641,717,99214,202,00002,523,136
4Jun 12, 2024 03:394,443639,433,98912,188,0002,031,0002,265,088
5Jun 12, 2024 03:394,459638,458,39312,231,0002,038,0002,523,136
6Jun 12, 2024 03:394,460636,158,15313,252,0001,019,0002,260,992
7Jun 12, 2024 03:394,465640,629,55914,288,00002,523,136
8Jun 12, 2024 03:394,470641,878,18413,283,0001,021,0002,523,136
9Jun 12, 2024 03:394,497643,164,56813,432,000959,0002,260,992
10Jun 12, 2024 03:394,633675,267,13714,825,33302,244,608
11Jun 12, 2024 03:394,651675,084,73814,883,18402,244,608
12Jun 12, 2024 03:394,666670,320,34414,930,47502,240,512