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 14, 2021 21:01alex3dalex3dScore: 4,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:014,7459,392,058,44415,183,00002,519,040
2May 14, 2021 21:004,7501,180,560,14413,301,0001,900,0002,260,992
3May 14, 2021 21:014,752334,813,04513,178,0002,027,0002,510,848
4May 14, 2021 21:014,754367,540,09512,362,0002,852,0002,523,136
5May 14, 2021 21:004,7592,334,396,32614,214,0001,015,0002,519,040
6May 14, 2021 21:004,7604,679,164,56814,218,0001,015,0002,519,040
7May 14, 2021 21:014,7601,469,542,60915,232,00002,523,136
8May 14, 2021 21:004,763737,418,38815,242,00002,510,848
9May 14, 2021 21:004,7649,259,572,40714,229,0001,016,0002,519,040
10May 14, 2021 21:014,7747,648,741,63415,276,00002,519,040
11May 14, 2021 21:014,7794,203,379,65913,381,0001,911,0002,519,040
12May 14, 2021 21:014,779592,996,73713,383,0001,911,0002,519,040
13May 14, 2021 21:014,7815,820,556,14314,279,0001,019,0002,519,040
14May 14, 2021 21:014,7848,851,122,05315,309,00002,519,040
15May 14, 2021 21:014,786831,556,53713,402,0001,914,0002,519,040
16May 14, 2021 21:004,7883,761,266,88715,320,00002,523,136
17May 14, 2021 21:014,7885,465,911,26014,300,0001,021,0002,519,040
18May 14, 2021 21:014,7885,604,625,45214,300,0001,021,0002,510,848
19May 14, 2021 21:014,7909,816,308,98714,306,0001,021,0002,523,136
20May 14, 2021 21:004,7914,007,387,07615,331,00002,519,040
21May 14, 2021 21:014,7932,230,290,97414,315,0001,022,0002,523,136
22May 14, 2021 21:014,7932,542,885,80814,316,0001,022,0002,519,040
23May 14, 2021 21:004,7996,023,642,26313,437,0001,919,0002,519,040
24May 14, 2021 21:014,8029,304,782,42715,366,00002,519,040
25May 14, 2021 21:004,8089,251,620,93215,387,00002,523,136
26May 14, 2021 21:014,8179,287,059,97514,387,0001,027,0002,519,040
27May 14, 2021 21:014,8239,991,030,93913,505,0001,929,0002,519,040
28May 14, 2021 21:004,988680,770,41315,962,90002,277,376
29May 14, 2021 21:014,9973,335,554,44215,989,10002,281,472
30May 14, 2021 21:015,00410,080,994,65016,013,63602,281,472
31May 14, 2021 21:015,0139,825,559,67116,042,80402,277,376
32May 14, 2021 21:015,0197,989,524,38716,061,12902,281,472
33May 14, 2021 21:015,0204,571,033,22716,063,68602,277,376
34May 14, 2021 21:015,020148,740,96116,064,89702,273,280
35May 14, 2021 21:005,0224,410,985,25116,070,10902,281,472
36May 14, 2021 21:005,03410,001,172,83616,108,90502,281,472