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:46Joad NacerJoad NacerScore: 4,453Success
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:464,43530,202,40613,179,0001,013,0002,437,120
2Nov 29, 2024 17:464,44132,563,85913,197,0001,015,0002,433,024
3Nov 29, 2024 17:464,44626,792,57413,211,0001,016,0002,441,216
4Nov 29, 2024 17:464,45127,525,93213,226,0001,017,0002,531,328
5Nov 29, 2024 17:464,45327,613,55013,231,0001,017,0002,531,328
6Nov 29, 2024 17:464,46429,191,09912,244,0002,040,0002,428,928
7Nov 29, 2024 17:464,47033,380,11712,260,0002,043,0002,428,928
8Nov 29, 2024 17:464,47035,346,91913,282,0001,021,0002,531,328
9Nov 29, 2024 17:464,48730,298,23613,332,0001,025,0002,428,928