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 listOct 27, 2021 10:11Ilya AniskovetsIlya AniskovetsScore: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:165,27243,791,01814,885,0001,984,0002,265,088
2Oct 27, 2021 10:165,28136,937,48815,906,000994,0002,527,232
3Oct 27, 2021 10:165,28734,943,08815,860,0001,057,0002,383,872
4Oct 27, 2021 10:165,28840,899,38915,925,000995,0002,265,088
5Oct 27, 2021 10:115,29234,594,52115,939,000996,0002,265,088
6Oct 27, 2021 10:115,29242,253,34414,942,0001,992,0002,265,088
7Oct 27, 2021 10:115,29344,535,04315,941,000996,0002,527,232
8Oct 27, 2021 10:165,29635,339,16415,950,000996,0002,265,088
9Oct 27, 2021 10:115,31137,663,84714,996,0001,999,0002,383,872
10Oct 27, 2021 10:165,31147,162,41415,996,000999,0002,265,088
11Oct 27, 2021 10:165,31443,463,31416,006,0001,000,0002,265,088
12Oct 27, 2021 10:165,32032,998,75016,022,0001,001,0002,265,088
13Oct 27, 2021 10:115,32140,438,65815,023,0002,003,0002,465,792
14Oct 27, 2021 10:115,32234,451,43015,028,0002,003,0002,527,232
15Oct 27, 2021 10:115,32844,452,54215,044,0002,005,0002,387,968
16Oct 27, 2021 10:115,32945,458,23616,050,0001,003,0002,265,088
17Oct 27, 2021 10:115,33235,126,34515,054,0002,007,0002,392,064
18Oct 27, 2021 10:165,33838,586,29015,072,0002,009,0002,265,088
19Oct 27, 2021 10:115,49090,109,54517,568,26502,293,760
20Oct 27, 2021 10:115,50390,420,88917,609,55302,281,472
21Oct 27, 2021 10:115,50460,952,86917,613,62002,273,280
22Oct 27, 2021 10:165,52494,495,06617,677,82902,281,472
23Oct 27, 2021 10:165,52573,156,15117,679,59502,289,664
24Oct 27, 2021 10:165,52998,698,98317,692,72602,273,280