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 listDec 6, 2023 11:42Viktor IarmolaViktor IarmolaScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:475,50445,761,58816,576,0001,036,0002,404,352
2Dec 6, 2023 11:425,51036,219,64416,595,0001,037,0002,404,352
3Dec 6, 2023 11:425,51542,024,69016,609,0001,038,0002,281,472
4Dec 6, 2023 11:475,53444,739,12716,669,0001,041,0002,281,472
5Dec 6, 2023 11:425,53744,084,65216,677,0001,042,0002,281,472
6Dec 6, 2023 11:475,53844,338,76916,679,0001,042,0002,281,472
7Dec 6, 2023 11:425,54143,917,74216,688,0001,043,0002,281,472
8Dec 6, 2023 11:475,54142,732,13116,689,0001,043,0002,281,472
9Dec 6, 2023 11:425,58246,442,62816,871,000992,0002,281,472
10Dec 6, 2023 11:475,58243,049,19217,862,00002,404,352
11Dec 6, 2023 11:475,58542,285,68415,886,0001,985,0002,404,352
12Dec 6, 2023 11:425,58642,462,04816,881,000993,0002,281,472
13Dec 6, 2023 11:475,58648,992,39216,882,000993,0002,281,472
14Dec 6, 2023 11:425,58946,315,51516,892,000993,0002,400,256
15Dec 6, 2023 11:425,59048,659,00416,894,000993,0002,400,256
16Dec 6, 2023 11:425,59345,509,52716,902,000994,0002,281,472
17Dec 6, 2023 11:475,59642,264,90216,913,000994,0002,400,256
18Dec 6, 2023 11:475,61841,506,39716,979,000998,0002,281,472
19Dec 6, 2023 11:425,80086,686,78118,560,65502,297,856
20Dec 6, 2023 11:425,85081,490,61618,721,25502,293,760
21Dec 6, 2023 11:475,88673,442,81618,834,12402,285,568
22Dec 6, 2023 11:475,92099,713,14818,944,71602,277,376
23Dec 6, 2023 11:475,94169,238,13519,011,17002,289,664
24Dec 6, 2023 11:425,97481,053,07819,117,55902,301,952