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 listMay 26, 2022 11:56Keichi TakahashiKeichi TakahashiScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 11:555,29332,578,52114,944,0001,992,0002,392,064
2May 26, 2022 11:575,30136,771,77114,967,0001,995,0002,383,872
3May 26, 2022 11:555,30241,126,08114,971,0001,996,0002,265,088
4May 26, 2022 11:565,30442,467,86114,977,0001,997,0002,387,968
5May 26, 2022 11:555,30742,245,23114,984,0001,997,0002,265,088
6May 26, 2022 11:565,31142,760,72514,996,0001,999,0002,387,968
7May 26, 2022 11:555,31441,724,33816,006,0001,000,0002,527,232
8May 26, 2022 11:555,31738,648,37916,014,0001,000,0002,392,064
9May 26, 2022 11:575,32142,794,29215,023,0002,003,0002,265,088
10May 26, 2022 11:565,32144,796,72715,025,0002,003,0002,265,088
11May 26, 2022 11:565,32241,713,89615,026,0002,003,0002,379,776
12May 26, 2022 11:575,32348,898,33015,029,0002,003,0002,527,232
13May 26, 2022 11:575,32447,293,72415,032,0002,004,0002,396,160
14May 26, 2022 11:575,32442,625,34115,034,0002,004,0002,387,968
15May 26, 2022 11:555,32430,011,91015,034,0002,004,0002,265,088
16May 26, 2022 11:565,32634,936,98215,038,0002,005,0002,387,968
17May 26, 2022 11:575,32834,618,96515,043,0002,005,0002,265,088
18May 26, 2022 11:555,32945,808,54315,048,0002,006,0002,265,088
19May 26, 2022 11:565,33235,628,13516,060,0001,003,0002,265,088
20May 26, 2022 11:565,33438,339,18416,066,0001,004,0002,387,968
21May 26, 2022 11:555,33734,290,04815,069,0002,009,0002,265,088
22May 26, 2022 11:575,33742,429,89116,073,0001,004,0002,265,088
23May 26, 2022 11:575,34238,488,32815,082,0002,011,0002,265,088
24May 26, 2022 11:575,34340,945,96116,092,0001,005,0002,265,088
25May 26, 2022 11:565,35143,913,94715,108,0002,014,0002,265,088
26May 26, 2022 11:565,35442,163,02015,117,0002,015,0002,469,888
27May 26, 2022 11:555,35847,761,58715,129,0002,017,0002,523,136
28May 26, 2022 11:565,49882,871,58317,594,96902,289,664
29May 26, 2022 11:565,50283,889,45117,607,67902,277,376
30May 26, 2022 11:555,50657,500,78517,620,33602,285,568
31May 26, 2022 11:555,51577,009,03117,649,32202,281,472
32May 26, 2022 11:575,52694,307,73617,682,15402,240,512
33May 26, 2022 11:575,53193,638,73417,698,65302,269,184
34May 26, 2022 11:565,53277,629,28617,701,42402,289,664
35May 26, 2022 11:575,53994,705,00617,725,90702,281,472
36May 26, 2022 11:555,54290,596,18617,735,42902,285,568