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 29, 2024 17:32Joad NacerJoad NacerScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:324,43931,214,18213,190,0001,014,0002,531,328
2Nov 29, 2024 17:314,44332,265,41112,186,0002,031,0002,269,184
3Nov 29, 2024 17:314,44831,588,48713,216,0001,016,0002,531,328
4Nov 29, 2024 17:324,44925,729,45613,220,0001,016,0002,424,832
5Nov 29, 2024 17:324,45742,656,10713,245,0001,018,0002,269,184
6Nov 29, 2024 17:314,46332,577,81413,260,0001,020,0002,424,832
7Nov 29, 2024 17:324,46836,162,74614,296,00002,531,328
8Nov 29, 2024 17:324,47229,507,20613,289,0001,022,0002,424,832
9Nov 29, 2024 17:324,49335,118,86113,350,0001,026,0002,420,736