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 27, 2021 16:21Yurkov AlekseyYurkov AlekseyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:2100000Died or killed
2May 27, 2021 16:545,88842,974,39017,851,000991,0002,289,664
3May 27, 2021 16:215,91645,362,68116,939,0001,992,0002,277,376
4May 27, 2021 16:545,91742,557,20517,938,000996,0002,531,328
5May 27, 2021 16:215,91946,677,68916,947,0001,993,0002,269,184
6May 27, 2021 16:215,92343,352,05416,958,0001,995,0002,289,664
7May 27, 2021 16:545,92446,539,73716,962,0001,995,0002,289,664
8May 27, 2021 16:545,92440,799,18217,961,000997,0002,347,008
9May 27, 2021 16:215,93343,687,57916,987,0001,998,0002,289,664
10May 27, 2021 16:545,93541,663,44117,994,000999,0002,289,664
11May 27, 2021 16:215,93637,378,13416,995,0001,999,0002,289,664
12May 27, 2021 16:215,94145,381,93817,010,0002,001,0002,359,296
13May 27, 2021 16:545,94136,980,73718,012,0001,000,0002,289,664
14May 27, 2021 16:215,94241,167,69117,014,0002,001,0002,355,200
15May 27, 2021 16:545,94442,265,57417,019,0002,002,0002,265,088
16May 27, 2021 16:545,94649,805,36518,027,0001,001,0002,289,664
17May 27, 2021 16:545,95147,113,10817,040,0002,004,0002,289,664
18May 27, 2021 16:215,96544,761,97917,078,0002,009,0002,289,664
19May 27, 2021 16:215,96941,781,86018,095,0001,005,0002,355,200
20May 27, 2021 16:216,08898,761,54719,482,95902,293,760
21May 27, 2021 16:546,09782,416,77519,511,54602,174,976
22May 27, 2021 16:216,10848,260,42219,545,01302,170,880
23May 27, 2021 16:546,13352,242,21019,626,32202,170,880
24May 27, 2021 16:216,16883,623,58819,738,93602,260,992
25May 27, 2021 16:546,22275,662,33719,911,19402,256,896