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:23Joad NacerJoad NacerScore: 4,450Success
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:234,43331,851,55413,174,0001,013,0002,531,328
2Nov 29, 2024 17:234,43731,107,09913,184,0001,014,0002,433,024
3Nov 29, 2024 17:234,44126,257,78113,196,0001,015,0002,441,216
4Nov 29, 2024 17:234,44332,497,78813,204,0001,015,0002,531,328
5Nov 29, 2024 17:234,45035,061,28213,222,0001,017,0002,441,216
6Nov 29, 2024 17:234,46428,757,36612,245,0002,040,0002,531,328
7Nov 29, 2024 17:234,46430,378,58913,264,0001,020,0002,510,848
8Nov 29, 2024 17:234,46430,578,50413,265,0001,020,0002,531,328
9Nov 29, 2024 17:234,49028,829,12813,341,0001,026,0002,428,928