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 listApr 17, 2024 21:39Joad NacerJoad NacerScore: 4,874Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 21:394,81032,309,11014,365,0001,026,0002,289,664
2Apr 17, 2024 21:394,83034,977,13714,425,0001,030,0002,387,968
3Apr 17, 2024 21:394,84133,492,26115,492,00002,269,184
4Apr 17, 2024 21:394,84835,261,16314,481,0001,034,0002,289,664
5Apr 17, 2024 21:394,86441,230,80914,527,0001,037,0002,289,664
6Apr 17, 2024 21:394,86630,941,46714,598,000973,0002,281,472
7Apr 17, 2024 21:394,87431,369,45614,557,0001,039,0002,355,200
8Apr 17, 2024 21:394,87837,875,98214,571,0001,040,0002,281,472
9Apr 17, 2024 21:394,90334,981,52714,644,0001,046,0002,285,568
10Apr 17, 2024 21:395,04885,312,33216,152,48602,293,760
11Apr 17, 2024 21:395,07491,310,68216,236,74502,301,952
12Apr 17, 2024 21:395,09787,580,00516,311,72902,293,760