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 listJul 22, 2024 23:30Joad NacerJoad NacerScore: 4,827Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:304,77629,086,82113,245,0002,037,0002,269,184
2Jul 22, 2024 23:304,80135,766,58615,364,00002,289,664
3Jul 22, 2024 23:304,80641,869,43514,353,0001,025,0002,289,664
4Jul 22, 2024 23:304,81836,448,30914,391,0001,027,0002,289,664
5Jul 22, 2024 23:304,82331,793,74015,432,00002,371,584
6Jul 22, 2024 23:304,82336,661,56014,406,0001,029,0002,527,232
7Jul 22, 2024 23:304,82735,153,64914,418,0001,029,0002,289,664
8Jul 22, 2024 23:304,83631,590,28714,445,0001,031,0002,289,664
9Jul 22, 2024 23:304,84032,639,09814,456,0001,032,0002,371,584
10Jul 22, 2024 23:305,10575,125,63116,337,21002,301,952
11Jul 22, 2024 23:305,10985,687,77916,347,49802,301,952
12Jul 22, 2024 23:305,11781,007,14216,373,64602,289,664