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 listJun 17, 2023 21:55Ulyanov AlekseyUlyanov AlekseyScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 21:555,77342,957,87617,446,0001,026,0002,289,664
2Jun 17, 2023 21:555,82249,575,63517,596,0001,035,0002,269,184
3Jun 17, 2023 21:555,83049,136,87118,657,00002,289,664
4Jun 17, 2023 21:555,83844,718,87117,643,0001,037,0002,277,376
5Jun 17, 2023 21:555,85242,570,69917,685,0001,040,0002,269,184
6Jun 17, 2023 21:555,85695,451,31318,740,19902,293,760
7Jun 17, 2023 21:555,89445,785,21917,868,000992,0002,289,664
8Jun 17, 2023 21:555,89448,446,98816,876,0001,985,0002,527,232
9Jun 17, 2023 21:555,90050,273,04117,886,000993,0002,281,472
10Jun 17, 2023 21:555,90341,795,22317,896,000994,0002,289,664
11Jun 17, 2023 21:556,07093,467,69619,423,36502,289,664
12Jun 17, 2023 21:556,09190,130,89419,490,07302,301,952