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 listSep 26, 2023 00:35IhebIhebScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:345,69634,301,64717,216,0001,012,0002,289,664
2Sep 26, 2023 00:345,70343,567,38816,221,0002,027,0002,289,664
3Sep 26, 2023 00:345,72239,862,31717,294,0001,017,0002,437,120
4Sep 26, 2023 00:345,73839,328,47416,321,0002,040,0002,277,376
5Sep 26, 2023 00:345,74540,348,18917,364,0001,021,0002,277,376
6Sep 26, 2023 00:345,74847,924,68717,373,0001,021,0002,527,232
7Sep 26, 2023 00:355,76237,491,77216,389,0002,048,0002,289,664
8Sep 26, 2023 00:355,76740,916,98416,404,0002,050,0002,289,664
9Sep 26, 2023 00:355,78944,159,97117,496,0001,029,0002,527,232
10Sep 26, 2023 00:355,79437,728,73217,512,0001,030,0002,289,664
11Sep 26, 2023 00:345,79648,141,41017,518,0001,030,0002,289,664
12Sep 26, 2023 00:345,79763,891,67618,550,08902,301,952
13Sep 26, 2023 00:355,79835,343,67818,554,00002,289,664
14Sep 26, 2023 00:345,80940,841,57817,557,0001,032,0002,289,664
15Sep 26, 2023 00:355,81239,529,02617,564,0001,033,0002,289,664
16Sep 26, 2023 00:345,81238,810,81917,565,0001,033,0002,289,664
17Sep 26, 2023 00:355,81341,690,25217,568,0001,033,0002,273,280
18Sep 26, 2023 00:355,82147,339,46317,592,0001,034,0002,277,376
19Sep 26, 2023 00:355,82650,840,24117,609,0001,035,0002,281,472
20Sep 26, 2023 00:345,90165,573,97018,881,81902,174,976
21Sep 26, 2023 00:355,95497,575,85319,054,36402,293,760
22Sep 26, 2023 00:355,98767,840,62019,157,25502,297,856
23Sep 26, 2023 00:345,98768,099,17419,157,64902,297,856
24Sep 26, 2023 00:356,00586,189,41919,216,99002,293,760