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 listOct 27, 2021 10:16Ilya AniskovetsIlya AniskovetsScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:225,27332,529,40214,890,0001,985,0002,387,968
2Oct 27, 2021 10:235,28248,892,04214,913,0001,988,0002,392,064
3Oct 27, 2021 10:165,28445,149,31915,915,000994,0002,383,872
4Oct 27, 2021 10:165,28642,173,62814,925,0001,990,0002,392,064
5Oct 27, 2021 10:165,28841,448,69615,928,000995,0002,392,064
6Oct 27, 2021 10:235,29043,063,29815,934,000995,0002,527,232
7Oct 27, 2021 10:225,29239,335,38114,943,0001,992,0002,265,088
8Oct 27, 2021 10:235,29333,863,61315,940,000996,0002,265,088
9Oct 27, 2021 10:165,29533,965,20915,948,000996,0002,387,968
10Oct 27, 2021 10:235,29740,947,76114,957,0001,994,0002,510,848
11Oct 27, 2021 10:235,30148,067,59415,965,000997,0002,265,088
12Oct 27, 2021 10:225,30245,782,95714,971,0001,996,0002,379,776
13Oct 27, 2021 10:225,30342,119,78414,974,0001,996,0002,396,160
14Oct 27, 2021 10:225,30533,256,28214,980,0001,997,0002,379,776
15Oct 27, 2021 10:225,30543,102,29214,980,0001,997,0002,265,088
16Oct 27, 2021 10:165,30650,677,65014,982,0001,997,0002,269,184
17Oct 27, 2021 10:235,30746,205,39915,983,000998,0002,269,184
18Oct 27, 2021 10:225,31640,901,20615,010,0002,001,0002,387,968
19Oct 27, 2021 10:225,31741,278,65415,012,0002,001,0002,265,088
20Oct 27, 2021 10:165,31743,028,79116,014,0001,000,0002,383,872
21Oct 27, 2021 10:165,31936,920,18415,018,0002,002,0002,387,968
22Oct 27, 2021 10:235,32238,933,05715,026,0002,003,0002,265,088
23Oct 27, 2021 10:165,32745,808,41115,041,0002,005,0002,510,848
24Oct 27, 2021 10:225,33048,364,56016,052,0001,003,0002,265,088
25Oct 27, 2021 10:165,33344,053,74916,061,0001,003,0002,265,088
26Oct 27, 2021 10:235,33847,081,17116,079,0001,004,0002,265,088
27Oct 27, 2021 10:235,35346,948,53915,114,0002,015,0002,265,088
28Oct 27, 2021 10:225,47564,905,97517,519,50702,277,376
29Oct 27, 2021 10:165,48368,821,24217,546,52002,281,472
30Oct 27, 2021 10:165,49885,366,57517,593,44302,285,568
31Oct 27, 2021 10:225,51091,521,25417,630,71802,285,568
32Oct 27, 2021 10:235,51491,598,23717,643,25002,273,280
33Oct 27, 2021 10:165,51589,308,57817,647,31302,281,472
34Oct 27, 2021 10:225,528104,196,08017,688,07702,273,280
35Oct 27, 2021 10:235,53163,171,86517,700,66502,285,568
36Oct 27, 2021 10:235,53580,793,72617,710,42702,273,280