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:24Yuriy LyfenkoYuriy LyfenkoError
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:2400000Error: expected "977282 ", got "977026 "
2Jun 12, 2024 03:2400000Error: expected "977362 ", got "977106 "
3Jun 12, 2024 03:254,713676,193,01515,083,08402,277,376
4Jun 12, 2024 03:254,716677,129,44815,092,12102,240,512
5Jun 12, 2024 03:254,734687,453,23315,149,10002,281,472