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 18:34Joad NacerJoad NacerScore: 4,379Success
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 18:344,34030,520,84612,897,000992,0002,269,184
2Nov 29, 2024 18:344,34828,719,22211,927,0001,987,0002,433,024
3Nov 29, 2024 18:344,34937,748,67611,930,0001,988,0002,531,328
4Nov 29, 2024 18:344,35540,829,68112,942,000995,0002,531,328
5Nov 29, 2024 18:344,37930,105,40513,012,0001,000,0002,424,832
6Nov 29, 2024 18:344,38431,274,79813,026,0001,002,0002,428,928
7Nov 29, 2024 18:344,40935,090,13312,093,0002,015,0002,433,024
8Nov 29, 2024 18:344,49328,141,32714,377,00002,433,024
9Nov 29, 2024 18:345,09147,006,75914,254,0002,036,0002,514,944