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 22, 2021 14:58Vladimir KuryakovVladimir KuryakovScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 14:585,66090,738,34418,110,95002,277,376
2May 22, 2021 14:585,67256,182,46018,151,01002,277,376
3May 22, 2021 14:585,67436,978,56216,141,0002,017,0002,392,064
4May 22, 2021 23:225,67736,515,12416,149,0002,018,0002,519,040
5May 22, 2021 23:225,67844,249,72417,162,0001,009,0002,387,968
6May 22, 2021 14:585,67942,105,89316,154,0002,019,0002,519,040
7May 22, 2021 14:585,68085,741,53018,175,83502,281,472
8May 22, 2021 14:585,68142,707,14316,160,0002,020,0002,519,040
9May 22, 2021 14:585,68574,860,07818,192,51902,277,376
10May 22, 2021 23:225,68534,233,19816,171,0002,021,0002,392,064
11May 22, 2021 14:585,69241,835,58716,191,0002,023,0002,387,968
12May 22, 2021 23:225,69844,414,75515,194,0003,038,0002,383,872
13May 22, 2021 14:585,70155,746,68618,243,67802,224,128
14May 22, 2021 23:225,70347,052,42616,221,0002,027,0002,519,040
15May 22, 2021 14:585,70442,899,63517,239,0001,014,0002,506,752
16May 22, 2021 14:585,70645,651,04015,215,0003,043,0002,519,040
17May 22, 2021 23:225,71038,732,46416,241,0002,030,0002,396,160
18May 22, 2021 23:225,71282,955,55418,276,94902,277,376
19May 22, 2021 23:225,713100,601,57818,281,76802,273,280
20May 22, 2021 23:225,71473,416,16618,283,31902,269,184
21May 22, 2021 14:585,71735,282,66517,279,0001,016,0002,392,064
22May 22, 2021 23:225,72735,716,80216,291,0002,036,0002,519,040
23May 22, 2021 23:225,73175,383,97818,338,58402,285,568
24May 22, 2021 23:225,73339,923,88817,326,0001,019,0002,519,040
25May 22, 2021 23:225,73946,985,92717,344,0001,020,0002,392,064
26May 22, 2021 14:585,73974,587,71118,366,31502,281,472
27May 22, 2021 14:585,74144,490,13517,351,0001,020,0002,510,848
28May 22, 2021 23:225,75170,856,24518,404,69602,281,472
29May 22, 2021 23:225,78785,473,50718,518,42502,289,664
30May 22, 2021 14:585,80048,186,94017,530,0001,031,0002,519,040