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 02:51Yuriy LyfenkoYuriy LyfenkoScore: 4,505Success
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 02:514,46435,903,99813,264,0001,020,0002,269,184
2Jun 12, 2024 02:514,47630,164,86013,301,0001,023,0002,392,064
3Jun 12, 2024 02:514,48430,497,76713,325,0001,025,0002,379,776
4Jun 12, 2024 02:514,48934,494,03814,364,00002,396,160
5Jun 12, 2024 02:514,50036,475,78713,371,0001,028,0002,392,064
6Jun 12, 2024 02:514,50141,191,24914,404,00002,396,160
7Jun 12, 2024 02:514,50531,514,80213,388,0001,029,0002,396,160
8Jun 12, 2024 02:514,51237,525,83313,407,0001,031,0002,396,160
9Jun 12, 2024 02:514,53130,161,11313,463,0001,035,0002,387,968
10Jun 12, 2024 02:514,715104,609,97815,088,24902,273,280
11Jun 12, 2024 02:514,72582,363,70015,120,45302,269,184
12Jun 12, 2024 02:514,72890,424,23815,128,02702,273,280