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 listDec 21, 2024 23:21KeKazartsevKeKazartsevScore: 62,236Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 23:2260,389220,372,561155,196,00038,048,0002,285,568
2Dec 21, 2024 23:2261,088217,764,510160,396,00035,086,0002,273,280
3Dec 21, 2024 23:2261,832221,083,514165,885,00031,977,0002,273,280
4Dec 21, 2024 23:2162,236220,091,445172,135,00027,021,0002,269,184
5Dec 21, 2024 23:2162,470222,875,721171,917,00027,986,0002,285,568
6Dec 21, 2024 23:2162,567222,074,839161,173,00039,042,0002,269,184