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 listJan 28, 2025 20:20Bohdan StorozhukBohdan StorozhukScore: 5,942Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 20:205,89145,104,00316,868,0001,984,0002,334,720
2Jan 28, 2025 20:205,94244,803,95318,013,0001,000,0002,318,336
3Jan 28, 2025 20:205,95642,878,54816,051,0003,009,0002,334,720