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 8, 2024 18:30AndreyTSAndreyTSScore: 5,772Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:305,72850,275,87416,293,0002,036,0002,293,760
2Jun 8, 2024 18:305,73945,556,14416,324,0002,040,0002,293,760
3Jun 8, 2024 18:305,74240,880,76917,354,0001,020,0002,273,280
4Jun 8, 2024 18:305,74744,358,30918,389,00002,293,760
5Jun 8, 2024 18:305,76138,943,28317,412,0001,024,0002,293,760
6Jun 8, 2024 18:305,76543,612,04917,424,0001,024,0002,281,472
7Jun 8, 2024 18:305,77250,790,41417,445,0001,026,0002,273,280
8Jun 8, 2024 18:305,77439,773,48318,476,00002,293,760
9Jun 8, 2024 18:305,78840,287,91318,521,00002,293,760
10Jun 8, 2024 18:306,02996,181,99219,291,45202,179,072
11Jun 8, 2024 18:306,03895,361,80719,320,15702,174,976
12Jun 8, 2024 18:306,076105,382,07219,443,08702,306,048