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 13:29Viktor IarmolaViktor IarmolaScore: 5,513Success
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 13:355,43938,803,21416,382,0001,023,0002,404,352
2Dec 6, 2023 13:045,44138,922,62617,410,00002,400,256
3Dec 6, 2023 13:355,44144,225,55716,387,0001,024,0002,281,472
4Dec 6, 2023 13:045,44635,299,52917,427,00002,281,472
5Dec 6, 2023 13:295,45441,814,91216,428,0001,026,0002,281,472
6Dec 6, 2023 13:355,45439,711,82717,453,00002,281,472
7Dec 6, 2023 13:045,45543,352,57917,456,00002,281,472
8Dec 6, 2023 13:295,45639,695,02416,432,0001,027,0002,281,472
9Dec 6, 2023 13:045,46141,706,16816,447,0001,027,0002,519,040
10Dec 6, 2023 13:355,46839,478,14616,469,0001,029,0002,392,064
11Dec 6, 2023 13:355,46939,554,96816,472,0001,029,0002,404,352
12Dec 6, 2023 13:295,47044,960,29716,474,0001,029,0002,408,448
13Dec 6, 2023 13:295,48439,723,26616,517,0001,032,0002,281,472
14Dec 6, 2023 13:045,49035,002,36716,535,0001,033,0002,281,472
15Dec 6, 2023 13:355,49540,511,74417,585,00002,400,256
16Dec 6, 2023 13:295,50038,827,54116,565,0001,035,0002,408,448
17Dec 6, 2023 13:355,50337,335,14316,574,0001,035,0002,400,256
18Dec 6, 2023 13:045,50534,330,86217,615,00002,281,472
19Dec 6, 2023 13:355,51338,637,58917,641,00002,281,472
20Dec 6, 2023 13:355,51534,802,79916,609,0001,038,0002,396,160
21Dec 6, 2023 13:295,51744,853,26316,615,0001,038,0002,281,472
22Dec 6, 2023 13:295,51742,677,65716,616,0001,038,0002,408,448
23Dec 6, 2023 13:045,51838,096,55417,659,00002,392,064
24Dec 6, 2023 13:295,52246,565,63817,669,00002,281,472
25Dec 6, 2023 13:295,52545,903,79816,640,0001,040,0002,281,472
26Dec 6, 2023 13:045,53636,644,61616,672,0001,042,0002,400,256
27Dec 6, 2023 13:045,53844,807,76916,680,0001,042,0002,396,160
28Dec 6, 2023 13:355,63481,671,16918,027,50002,281,472
29Dec 6, 2023 13:045,63658,435,66518,033,92602,297,856
30Dec 6, 2023 13:295,64983,329,48618,076,13602,289,664
31Dec 6, 2023 13:355,65084,012,94318,081,25002,285,568
32Dec 6, 2023 13:295,69085,144,17318,207,86002,289,664
33Dec 6, 2023 13:045,69277,669,21918,213,53502,252,800
34Dec 6, 2023 13:295,70386,816,33918,248,47802,285,568
35Dec 6, 2023 13:355,71895,881,13318,297,00902,297,856
36Dec 6, 2023 13:045,76687,246,36918,452,68002,285,568