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 listNov 5, 2024 16:34kauruuskauruusScore: 46,113Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 16:3446,025169,609,335145,276,0002,003,0002,494,464
2Nov 5, 2024 16:3446,034171,468,952146,307,0001,002,0002,490,368
3Nov 5, 2024 16:3446,046174,478,427146,345,0001,002,0002,494,464
4Nov 5, 2024 16:3446,099170,043,175146,515,0001,003,0002,486,272
5Nov 5, 2024 16:3446,113176,450,491146,557,0001,003,0002,494,464
6Nov 5, 2024 16:3446,122174,964,222147,590,00002,330,624
7Nov 5, 2024 16:3446,123175,216,606147,592,00002,490,368
8Nov 5, 2024 16:3446,151173,833,256147,683,00002,330,624
9Nov 5, 2024 16:3446,185172,611,329145,795,0001,997,0002,330,624