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:27Joad NacerJoad NacerScore: 4,465Success
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:274,42931,330,00413,161,0001,012,0002,428,928
2Nov 29, 2024 17:274,43735,141,74613,184,0001,014,0002,269,184
3Nov 29, 2024 17:274,45333,856,96913,231,0001,017,0002,428,928
4Nov 29, 2024 17:274,45336,184,52913,233,0001,017,0002,269,184
5Nov 29, 2024 17:274,46535,377,44513,267,0001,020,0002,531,328
6Nov 29, 2024 17:274,47129,061,66314,306,00002,437,120
7Nov 29, 2024 17:274,47128,362,20213,286,0001,022,0002,531,328
8Nov 29, 2024 17:274,50830,562,14313,396,0001,030,0002,531,328
9Nov 29, 2024 17:274,53834,399,03014,520,00002,531,328