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 18:10Joad NacerJoad NacerScore: 4,463Success
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 18:114,43928,210,45212,175,0002,029,0002,428,928
2Nov 29, 2024 18:114,44829,626,50512,199,0002,033,0002,433,024
3Nov 29, 2024 18:104,45335,407,41013,233,0001,017,0002,437,120
4Nov 29, 2024 18:114,46334,972,27813,263,0001,020,0002,433,024
5Nov 29, 2024 18:104,47233,924,10113,287,0001,022,0002,531,328
6Nov 29, 2024 18:104,48931,603,12312,312,0002,052,0002,433,024