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 listNov 1, 2021 14:54Ilya AniskovetsIlya AniskovetsScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:545,43245,071,95416,359,0001,022,0002,265,088
2Nov 1, 2021 14:545,43636,337,88216,373,0001,023,0002,383,872
3Nov 1, 2021 14:545,44432,912,51416,398,0001,024,0002,396,160
4Nov 1, 2021 14:525,45139,802,69016,416,0001,026,0002,396,160
5Nov 1, 2021 14:525,45634,412,64416,433,0001,027,0002,527,232
6Nov 1, 2021 14:525,45833,042,18916,437,0001,027,0002,265,088
7Nov 1, 2021 14:525,45942,244,08716,442,0001,027,0002,387,968
8Nov 1, 2021 14:525,46140,963,68417,474,00002,502,656
9Nov 1, 2021 14:525,46145,859,33916,448,0001,028,0002,387,968
10Nov 1, 2021 14:545,46142,707,26317,474,00002,265,088
11Nov 1, 2021 14:545,46338,434,34016,453,0001,028,0002,514,944
12Nov 1, 2021 14:525,46433,790,73716,456,0001,028,0002,392,064
13Nov 1, 2021 14:545,46540,670,61817,488,00002,392,064
14Nov 1, 2021 14:525,46643,467,24017,490,00002,387,968
15Nov 1, 2021 14:545,47337,801,90717,512,00002,265,088
16Nov 1, 2021 14:545,47437,987,82416,486,0001,030,0002,387,968
17Nov 1, 2021 14:525,48534,642,87317,552,00002,392,064
18Nov 1, 2021 14:545,49039,606,61917,567,00002,506,752
19Nov 1, 2021 14:545,633100,535,93518,025,86702,269,184
20Nov 1, 2021 14:525,64384,138,74718,057,93002,273,280
21Nov 1, 2021 14:525,64898,794,99418,073,94702,285,568
22Nov 1, 2021 14:545,65171,083,14918,083,48202,281,472
23Nov 1, 2021 14:525,66276,816,95318,118,41302,281,472
24Nov 1, 2021 14:545,67373,290,85118,153,00702,277,376