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 12, 2024 22:26Manuel PepeManuel PepeScore: 79,722Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 22:2579,070280,532,268215,020,00038,003,0002,465,792
2Nov 12, 2024 22:2579,202282,493,219217,382,00036,063,0002,523,136
3Nov 12, 2024 22:2579,503281,228,949216,349,00038,061,0002,330,624
4Nov 12, 2024 22:2679,722280,505,504216,094,00039,017,0002,478,080
5Nov 12, 2024 22:2680,030284,026,813216,081,00040,015,0002,334,720
6Nov 12, 2024 22:2680,041283,734,742217,111,00039,020,0002,543,616