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 19:18Joad NacerJoad NacerScore: 4,349Success
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 19:184,32530,132,29912,853,000988,0002,531,328
2Nov 29, 2024 19:184,33127,641,05212,869,000989,0002,531,328
3Nov 29, 2024 19:184,33631,882,67212,885,000991,0002,531,328
4Nov 29, 2024 19:184,33834,865,23911,899,0001,983,0002,437,120
5Nov 29, 2024 19:184,34929,292,77812,924,000994,0002,433,024
6Nov 29, 2024 19:184,35029,926,54612,927,000994,0002,531,328
7Nov 29, 2024 19:184,37034,849,84112,986,000998,0002,428,928
8Nov 29, 2024 19:184,37442,184,11611,999,0001,999,0002,428,928
9Nov 29, 2024 19:184,38234,431,35412,020,0002,003,0002,514,944