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:13Joad NacerJoad NacerScore: 4,448Success
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:124,43226,464,76013,170,0001,013,0002,428,928
2Nov 29, 2024 17:124,43235,933,19113,170,0001,013,0002,269,184
3Nov 29, 2024 17:124,44034,976,51413,194,0001,014,0002,531,328
4Nov 29, 2024 17:134,44133,848,61613,197,0001,015,0002,531,328
5Nov 29, 2024 17:124,44834,940,36212,202,0002,033,0002,269,184
6Nov 29, 2024 17:124,45529,066,70313,237,0001,018,0002,514,944
7Nov 29, 2024 17:134,46329,064,49013,261,0001,020,0002,531,328
8Nov 29, 2024 17:134,46725,689,06914,293,00002,269,184
9Nov 29, 2024 17:124,46829,410,22213,276,0001,021,0002,433,024