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 13, 2024 16:30matsuoka-601matsuoka-601Score: 5,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 16:305,45238,598,16517,446,00002,273,280
2Jan 13, 2024 16:305,45543,903,60816,431,0001,026,0002,285,568
3Jan 13, 2024 16:305,48835,067,12517,560,00002,285,568
4Jan 13, 2024 16:305,49342,432,66816,543,0001,033,0002,285,568
5Jan 13, 2024 16:305,49333,657,55516,543,0001,033,0002,285,568
6Jan 13, 2024 16:305,49446,992,18316,547,0001,034,0002,531,328
7Jan 13, 2024 16:305,49441,228,34216,547,0001,034,0002,531,328
8Jan 13, 2024 16:305,50853,505,20916,590,0001,036,0002,285,568
9Jan 13, 2024 16:305,54043,743,44716,685,0001,042,0002,285,568
10Jan 13, 2024 16:305,68962,418,56718,204,41002,301,952
11Jan 13, 2024 16:305,69975,640,45418,235,25802,306,048
12Jan 13, 2024 16:305,72270,115,78018,310,45802,301,952