QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#843979#3273. Datalab275307894a28.37161 132ms6252kbC++201.5kb2025-01-05 10:48:442025-01-05 10:48:45

Judging History

你现在查看的是最新测评结果

  • [2025-01-05 10:48:45]
  • 评测
  • 测评结果:28.37161
  • 用时:132ms
  • 内存:6252kb
  • [2025-01-05 10:48:44]
  • 提交

answer

#include "datalab.h"

#include<bits/stdc++.h>
#define Gc() getchar()
#define Me(x,y) memset(x,y,sizeof(x))
#define Mc(x,y) memcpy(x,y,sizeof(x))
#define d(x,y) ((m)*(x-1)+(y))
#define R(n) (rnd()%(n)+1)
#define Pc(x) putchar(x)
#define LB lower_bound
#define UB upper_bound
#define fi first
#define se second
#define eb emplace_back
#define all(x) x.begin(),x.end()
using namespace std;using ll=long long;using db=double;using lb=long db;using ui=unsigned;using ull=unsigned long long;using pii=pair<int,int>;
const int N=2e6+5,M=3e5+5,K=1000+5,mod=998244353,Mod=mod-1;const db eps=1e-9;const int INF=1e9+7;mt19937 rnd(28382);
#define Tp template<typename T>
#define Ts template<typename T,typename... Ar>
namespace Debug{
	Tp void _debug(char* f,T t){cerr<<f<<'='<<t<<endl;}
	Ts void _debug(char* f,T x,Ar... y){while(*f!=',') cerr<<*f++;cerr<<'='<<x<<",";_debug(f+1,y...);}
	#ifdef LOCAL
	#define gdb(...) _debug((char*)#__VA_ARGS__,__VA_ARGS__)
	#else 
	#define gdb(...) void()
	#endif
}using namespace Debug;
int sgn[N];
using vec=bitset<8192>;
vector<int> solve(int k,int LIMIT){
	vector<int> sgn(k),op(k);
	sgn[k-1]=1;sgn[k-2]=-1;
	vec f;f.set();
	vec g=Add(f,f);
	int R=0;
	while(R<k-2){
		if(g[R+2]) op[R]=1,R++;
		else op[R]=-1,R+=2;
	}
	for(int i=k-3;~i;i--){
		if(op[i]){
			sgn[i]=sgn[i+1]*op[i];
			continue;
		}
		vec f;
		f.reset();
		f[i]=1;
		vec g=Add(f,f);
		int flag=0;
		for(int j=i+2;j<k;j++) flag|=g[j];
		if(!flag) sgn[i]=sgn[i+1];
		else sgn[i]=-sgn[i+1];
	}
	return sgn;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 101ms
memory: 4008kb

output:

AC
2713

result:

ok Correct, 2713 queries used

Test #2:

score: 10
Accepted
time: 84ms
memory: 3904kb

output:

AC
2686

result:

ok Correct, 2686 queries used

Test #3:

score: 10
Accepted
time: 76ms
memory: 3900kb

output:

AC
2673

result:

ok Correct, 2673 queries used

Test #4:

score: 10
Accepted
time: 86ms
memory: 4240kb

output:

AC
2730

result:

ok Correct, 2730 queries used

Test #5:

score: 10
Accepted
time: 85ms
memory: 5960kb

output:

AC
2705

result:

ok Correct, 2705 queries used

Test #6:

score: 10
Accepted
time: 89ms
memory: 4052kb

output:

AC
2742

result:

ok Correct, 2742 queries used

Test #7:

score: 10
Accepted
time: 89ms
memory: 4012kb

output:

AC
2714

result:

ok Correct, 2714 queries used

Test #8:

score: 10
Accepted
time: 81ms
memory: 3912kb

output:

AC
2740

result:

ok Correct, 2740 queries used

Test #9:

score: 10
Accepted
time: 82ms
memory: 4048kb

output:

AC
2725

result:

ok Correct, 2725 queries used

Test #10:

score: 10
Accepted
time: 86ms
memory: 4076kb

output:

AC
2752

result:

ok Correct, 2752 queries used

Test #11:

score: 10
Accepted
time: 85ms
memory: 3904kb

output:

AC
2727

result:

ok Correct, 2727 queries used

Test #12:

score: 10
Accepted
time: 87ms
memory: 3904kb

output:

AC
2720

result:

ok Correct, 2720 queries used

Test #13:

score: 10
Accepted
time: 86ms
memory: 3908kb

output:

AC
2729

result:

ok Correct, 2729 queries used

Subtask #2:

score: 15
Accepted

Test #14:

score: 15
Accepted
time: 85ms
memory: 4172kb

output:

AC
2720

result:

ok Correct, 2720 queries used

Test #15:

score: 15
Accepted
time: 114ms
memory: 3908kb

output:

AC
2736

result:

ok Correct, 2736 queries used

Test #16:

score: 15
Accepted
time: 92ms
memory: 4232kb

output:

AC
2730

result:

ok Correct, 2730 queries used

Test #17:

score: 15
Accepted
time: 83ms
memory: 4052kb

output:

AC
2739

result:

ok Correct, 2739 queries used

Test #18:

score: 15
Accepted
time: 94ms
memory: 3972kb

output:

AC
2741

result:

ok Correct, 2741 queries used

Test #19:

score: 15
Accepted
time: 87ms
memory: 3980kb

output:

AC
2736

result:

ok Correct, 2736 queries used

Test #20:

score: 15
Accepted
time: 90ms
memory: 5888kb

output:

AC
2720

result:

ok Correct, 2720 queries used

Test #21:

score: 15
Accepted
time: 80ms
memory: 4012kb

output:

AC
2684

result:

ok Correct, 2684 queries used

Test #22:

score: 15
Accepted
time: 85ms
memory: 3976kb

output:

AC
2750

result:

ok Correct, 2750 queries used

Test #23:

score: 15
Accepted
time: 131ms
memory: 3976kb

output:

AC
4090

result:

ok Correct, 4090 queries used

Test #24:

score: 15
Accepted
time: 127ms
memory: 3908kb

output:

AC
4090

result:

ok Correct, 4090 queries used

Test #25:

score: 15
Accepted
time: 131ms
memory: 3988kb

output:

AC
4090

result:

ok Correct, 4090 queries used

Test #26:

score: 15
Accepted
time: 128ms
memory: 4240kb

output:

AC
4089

result:

ok Correct, 4089 queries used

Test #27:

score: 15
Accepted
time: 131ms
memory: 3984kb

output:

AC
4088

result:

ok Correct, 4088 queries used

Test #28:

score: 15
Accepted
time: 131ms
memory: 4052kb

output:

AC
4089

result:

ok Correct, 4089 queries used

Test #29:

score: 15
Accepted
time: 131ms
memory: 4228kb

output:

AC
4092

result:

ok Correct, 4092 queries used

Test #30:

score: 15
Accepted
time: 130ms
memory: 4232kb

output:

AC
4093

result:

ok Correct, 4093 queries used

Test #31:

score: 15
Accepted
time: 111ms
memory: 3944kb

output:

AC
3736

result:

ok Correct, 3736 queries used

Test #32:

score: 15
Accepted
time: 112ms
memory: 3940kb

output:

AC
3804

result:

ok Correct, 3804 queries used

Test #33:

score: 15
Accepted
time: 96ms
memory: 3980kb

output:

AC
3371

result:

ok Correct, 3371 queries used

Test #34:

score: 15
Accepted
time: 11ms
memory: 3936kb

output:

AC
492

result:

ok Correct, 492 queries used

Test #35:

score: 15
Accepted
time: 24ms
memory: 3940kb

output:

AC
779

result:

ok Correct, 779 queries used

Test #36:

score: 15
Accepted
time: 93ms
memory: 4228kb

output:

AC
3128

result:

ok Correct, 3128 queries used

Test #37:

score: 15
Accepted
time: 18ms
memory: 4012kb

output:

AC
571

result:

ok Correct, 571 queries used

Test #38:

score: 15
Accepted
time: 33ms
memory: 3944kb

output:

AC
1096

result:

ok Correct, 1096 queries used

Test #39:

score: 15
Accepted
time: 94ms
memory: 3908kb

output:

AC
3270

result:

ok Correct, 3270 queries used

Test #40:

score: 15
Accepted
time: 18ms
memory: 3900kb

output:

AC
573

result:

ok Correct, 573 queries used

Test #41:

score: 15
Accepted
time: 107ms
memory: 3900kb

output:

AC
3634

result:

ok Correct, 3634 queries used

Test #42:

score: 15
Accepted
time: 106ms
memory: 3976kb

output:

AC
3593

result:

ok Correct, 3593 queries used

Test #43:

score: 15
Accepted
time: 24ms
memory: 3988kb

output:

AC
815

result:

ok Correct, 815 queries used

Test #44:

score: 15
Accepted
time: 94ms
memory: 4048kb

output:

AC
3303

result:

ok Correct, 3303 queries used

Test #45:

score: 15
Accepted
time: 99ms
memory: 4176kb

output:

AC
3355

result:

ok Correct, 3355 queries used

Subtask #3:

score: 3.37161
Acceptable Answer

Test #46:

score: 5.02732
Acceptable Answer
time: 85ms
memory: 4232kb

output:

AC
2745

result:

points 0.06703096540 Correct, 2745 queries used

Test #47:

score: 5.06608
Acceptable Answer
time: 85ms
memory: 4056kb

output:

AC
2724

result:

points 0.06754772390 Correct, 2724 queries used

Test #48:

score: 5.05124
Acceptable Answer
time: 88ms
memory: 4056kb

output:

AC
2732

result:

points 0.06734992680 Correct, 2732 queries used

Test #49:

score: 5.03834
Acceptable Answer
time: 88ms
memory: 3976kb

output:

AC
2739

result:

points 0.06717780210 Correct, 2739 queries used

Test #50:

score: 5.0494
Acceptable Answer
time: 87ms
memory: 3976kb

output:

AC
2733

result:

points 0.06732528360 Correct, 2733 queries used

Test #51:

score: 5.14158
Acceptable Answer
time: 84ms
memory: 3968kb

output:

AC
2684

result:

points 0.06855439640 Correct, 2684 queries used

Test #52:

score: 5.0457
Acceptable Answer
time: 86ms
memory: 3920kb

output:

AC
2735

result:

points 0.06727605120 Correct, 2735 queries used

Test #53:

score: 5.081
Acceptable Answer
time: 100ms
memory: 3976kb

output:

AC
2716

result:

points 0.06774668630 Correct, 2716 queries used

Test #54:

score: 5.04202
Acceptable Answer
time: 85ms
memory: 3980kb

output:

AC
2737

result:

points 0.06722689080 Correct, 2737 queries used

Test #55:

score: 3.37408
Acceptable Answer
time: 131ms
memory: 3900kb

output:

AC
4090

result:

points 0.04498777510 Correct, 4090 queries used

Test #56:

score: 3.37161
Acceptable Answer
time: 131ms
memory: 3884kb

output:

AC
4093

result:

points 0.04495480090 Correct, 4093 queries used

Test #57:

score: 3.37573
Acceptable Answer
time: 132ms
memory: 3908kb

output:

AC
4088

result:

points 0.04500978470 Correct, 4088 queries used

Test #58:

score: 3.37326
Acceptable Answer
time: 131ms
memory: 4048kb

output:

AC
4091

result:

points 0.04497677830 Correct, 4091 queries used

Test #59:

score: 3.37243
Acceptable Answer
time: 132ms
memory: 4212kb

output:

AC
4092

result:

points 0.04496578690 Correct, 4092 queries used

Test #60:

score: 3.37326
Acceptable Answer
time: 131ms
memory: 3904kb

output:

AC
4091

result:

points 0.04497677830 Correct, 4091 queries used

Test #61:

score: 3.37243
Acceptable Answer
time: 130ms
memory: 3908kb

output:

AC
4092

result:

points 0.04496578690 Correct, 4092 queries used

Test #62:

score: 3.37326
Acceptable Answer
time: 131ms
memory: 3908kb

output:

AC
4091

result:

points 0.04497677830 Correct, 4091 queries used

Test #63:

score: 3.37243
Acceptable Answer
time: 129ms
memory: 6252kb

output:

AC
4092

result:

points 0.04496578690 Correct, 4092 queries used

Test #64:

score: 3.84294
Acceptable Answer
time: 106ms
memory: 4172kb

output:

AC
3591

result:

points 0.05123920910 Correct, 3591 queries used

Test #65:

score: 3.69577
Acceptable Answer
time: 111ms
memory: 3904kb

output:

AC
3734

result:

points 0.04927691480 Correct, 3734 queries used

Test #66:

score: 3.90824
Acceptable Answer
time: 104ms
memory: 3900kb

output:

AC
3531

result:

points 0.05210988390 Correct, 3531 queries used

Test #67:

score: 26.7961
Acceptable Answer
time: 16ms
memory: 3900kb

output:

AC
515

result:

points 0.35728155340 Correct, 515 queries used

Test #68:

score: 3.59562
Acceptable Answer
time: 110ms
memory: 3988kb

output:

AC
3838

result:

points 0.04794163630 Correct, 3838 queries used

Test #69:

score: 23.1156
Acceptable Answer
time: 19ms
memory: 5908kb

output:

AC
597

result:

points 0.30820770520 Correct, 597 queries used

Test #70:

score: 3.68491
Acceptable Answer
time: 111ms
memory: 4236kb

output:

AC
3745

result:

points 0.04913217620 Correct, 3745 queries used

Test #71:

score: 21.4619
Acceptable Answer
time: 20ms
memory: 3904kb

output:

AC
643

result:

points 0.28615863140 Correct, 643 queries used

Test #72:

score: 4.3963
Acceptable Answer
time: 93ms
memory: 4076kb

output:

AC
3139

result:

points 0.05861739410 Correct, 3139 queries used

Test #73:

score: 3.84508
Acceptable Answer
time: 102ms
memory: 4236kb

output:

AC
3589

result:

points 0.05126776260 Correct, 3589 queries used

Test #74:

score: 31.2925
Acceptable Answer
time: 14ms
memory: 3932kb

output:

AC
441

result:

points 0.41723356010 Correct, 441 queries used

Test #75:

score: 13.8
Acceptable Answer
time: 30ms
memory: 3904kb

output:

AC
1000

result:

points 0.1840 Correct, 1000 queries used

Test #76:

score: 3.91934
Acceptable Answer
time: 104ms
memory: 4228kb

output:

AC
3521

result:

points 0.05225788130 Correct, 3521 queries used

Test #77:

score: 3.58908
Acceptable Answer
time: 109ms
memory: 3988kb

output:

AC
3845

result:

points 0.04785435630 Correct, 3845 queries used

Test #78:

score: 11.8659
Acceptable Answer
time: 35ms
memory: 4232kb

output:

AC
1163

result:

points 0.15821152190 Correct, 1163 queries used

Test #79:

score: 4.19708
Acceptable Answer
time: 97ms
memory: 3952kb

output:

AC
3288

result:

points 0.05596107060 Correct, 3288 queries used

Test #80:

score: 75
Accepted
time: 5ms
memory: 4204kb

output:

AC
138

result:

ok Correct, 138 queries used

Test #81:

score: 75
Accepted
time: 5ms
memory: 3980kb

output:

AC
135

result:

ok Correct, 135 queries used

Test #82:

score: 75
Accepted
time: 2ms
memory: 3936kb

output:

AC
133

result:

ok Correct, 133 queries used

Test #83:

score: 75
Accepted
time: 5ms
memory: 4208kb

output:

AC
130

result:

ok Correct, 130 queries used

Test #84:

score: 75
Accepted
time: 5ms
memory: 3988kb

output:

AC
128

result:

ok Correct, 128 queries used

Test #85:

score: 75
Accepted
time: 5ms
memory: 4012kb

output:

AC
126

result:

ok Correct, 126 queries used

Test #86:

score: 75
Accepted
time: 5ms
memory: 4072kb

output:

AC
125

result:

ok Correct, 125 queries used

Test #87:

score: 75
Accepted
time: 5ms
memory: 4048kb

output:

AC
123

result:

ok Correct, 123 queries used

Test #88:

score: 75
Accepted
time: 4ms
memory: 3940kb

output:

AC
122

result:

ok Correct, 122 queries used

Test #89:

score: 75
Accepted
time: 4ms
memory: 3988kb

output:

AC
119

result:

ok Correct, 119 queries used

Test #90:

score: 75
Accepted
time: 4ms
memory: 3984kb

output:

AC
117

result:

ok Correct, 117 queries used

Test #91:

score: 75
Accepted
time: 4ms
memory: 3968kb

output:

AC
117

result:

ok Correct, 117 queries used

Test #92:

score: 75
Accepted
time: 4ms
memory: 4076kb

output:

AC
115

result:

ok Correct, 115 queries used

Test #93:

score: 75
Accepted
time: 4ms
memory: 4232kb

output:

AC
113

result:

ok Correct, 113 queries used

Test #94:

score: 75
Accepted
time: 4ms
memory: 3912kb

output:

AC
111

result:

ok Correct, 111 queries used

Test #95:

score: 75
Accepted
time: 4ms
memory: 4248kb

output:

AC
111

result:

ok Correct, 111 queries used

Test #96:

score: 75
Accepted
time: 4ms
memory: 3988kb

output:

AC
108

result:

ok Correct, 108 queries used

Test #97:

score: 75
Accepted
time: 2ms
memory: 3968kb

output:

AC
107

result:

ok Correct, 107 queries used

Test #98:

score: 75
Accepted
time: 4ms
memory: 3924kb

output:

AC
106

result:

ok Correct, 106 queries used

Test #99:

score: 75
Accepted
time: 4ms
memory: 4012kb

output:

AC
105

result:

ok Correct, 105 queries used

Test #100:

score: 75
Accepted
time: 4ms
memory: 4020kb

output:

AC
104

result:

ok Correct, 104 queries used

Test #101:

score: 75
Accepted
time: 0ms
memory: 3980kb

output:

AC
102

result:

ok Correct, 102 queries used

Test #102:

score: 75
Accepted
time: 0ms
memory: 3900kb

output:

AC
100

result:

ok Correct, 100 queries used

Test #103:

score: 75
Accepted
time: 2ms
memory: 3980kb

output:

AC
99

result:

ok Correct, 99 queries used

Test #104:

score: 75
Accepted
time: 4ms
memory: 3908kb

output:

AC
98

result:

ok Correct, 98 queries used

Test #105:

score: 75
Accepted
time: 4ms
memory: 3940kb

output:

AC
97

result:

ok Correct, 97 queries used

Test #106:

score: 75
Accepted
time: 4ms
memory: 3900kb

output:

AC
96

result:

ok Correct, 96 queries used

Test #107:

score: 75
Accepted
time: 4ms
memory: 3968kb

output:

AC
95

result:

ok Correct, 95 queries used

Test #108:

score: 75
Accepted
time: 4ms
memory: 4208kb

output:

AC
94

result:

ok Correct, 94 queries used

Test #109:

score: 75
Accepted
time: 4ms
memory: 3904kb

output:

AC
93

result:

ok Correct, 93 queries used

Test #110:

score: 75
Accepted
time: 2ms
memory: 4232kb

output:

AC
91

result:

ok Correct, 91 queries used

Test #111:

score: 75
Accepted
time: 0ms
memory: 3904kb

output:

AC
90

result:

ok Correct, 90 queries used

Test #112:

score: 75
Accepted
time: 0ms
memory: 4072kb

output:

AC
90

result:

ok Correct, 90 queries used

Test #113:

score: 75
Accepted
time: 3ms
memory: 4012kb

output:

AC
89

result:

ok Correct, 89 queries used

Test #114:

score: 75
Accepted
time: 3ms
memory: 4232kb

output:

AC
88

result:

ok Correct, 88 queries used

Test #115:

score: 75
Accepted
time: 3ms
memory: 3980kb

output:

AC
87

result:

ok Correct, 87 queries used

Test #116:

score: 75
Accepted
time: 0ms
memory: 3924kb

output:

AC
86

result:

ok Correct, 86 queries used

Test #117:

score: 75
Accepted
time: 0ms
memory: 5920kb

output:

AC
85

result:

ok Correct, 85 queries used

Test #118:

score: 75
Accepted
time: 3ms
memory: 4208kb

output:

AC
84

result:

ok Correct, 84 queries used

Test #119:

score: 75
Accepted
time: 3ms
memory: 4012kb

output:

AC
84

result:

ok Correct, 84 queries used

Test #120:

score: 75
Accepted
time: 3ms
memory: 4012kb

output:

AC
82

result:

ok Correct, 82 queries used

Test #121:

score: 75
Accepted
time: 4ms
memory: 3940kb

output:

AC
81

result:

ok Correct, 81 queries used

Test #122:

score: 75
Accepted
time: 3ms
memory: 3988kb

output:

AC
79

result:

ok Correct, 79 queries used

Test #123:

score: 75
Accepted
time: 3ms
memory: 3912kb

output:

AC
78

result:

ok Correct, 78 queries used

Test #124:

score: 75
Accepted
time: 3ms
memory: 3980kb

output:

AC
76

result:

ok Correct, 76 queries used

Test #125:

score: 75
Accepted
time: 3ms
memory: 4228kb

output:

AC
76

result:

ok Correct, 76 queries used

Test #126:

score: 75
Accepted
time: 3ms
memory: 3908kb

output:

AC
74

result:

ok Correct, 74 queries used

Test #127:

score: 75
Accepted
time: 3ms
memory: 3904kb

output:

AC
72

result:

ok Correct, 72 queries used

Test #128:

score: 75
Accepted
time: 3ms
memory: 4172kb

output:

AC
71

result:

ok Correct, 71 queries used

Test #129:

score: 75
Accepted
time: 3ms
memory: 5912kb

output:

AC
70

result:

ok Correct, 70 queries used

Test #130:

score: 75
Accepted
time: 3ms
memory: 4072kb

output:

AC
69

result:

ok Correct, 69 queries used

Test #131:

score: 75
Accepted
time: 0ms
memory: 4236kb

output:

AC
68

result:

ok Correct, 68 queries used

Test #132:

score: 75
Accepted
time: 3ms
memory: 4072kb

output:

AC
67

result:

ok Correct, 67 queries used

Test #133:

score: 75
Accepted
time: 3ms
memory: 3904kb

output:

AC
65

result:

ok Correct, 65 queries used

Test #134:

score: 75
Accepted
time: 3ms
memory: 3976kb

output:

AC
65

result:

ok Correct, 65 queries used

Test #135:

score: 75
Accepted
time: 0ms
memory: 3888kb

output:

AC
63

result:

ok Correct, 63 queries used

Test #136:

score: 75
Accepted
time: 3ms
memory: 3984kb

output:

AC
63

result:

ok Correct, 63 queries used

Test #137:

score: 75
Accepted
time: 3ms
memory: 3988kb

output:

AC
62

result:

ok Correct, 62 queries used

Test #138:

score: 75
Accepted
time: 3ms
memory: 4048kb

output:

AC
61

result:

ok Correct, 61 queries used

Test #139:

score: 75
Accepted
time: 3ms
memory: 3988kb

output:

AC
61

result:

ok Correct, 61 queries used

Test #140:

score: 75
Accepted
time: 0ms
memory: 4172kb

output:

AC
60

result:

ok Correct, 60 queries used

Test #141:

score: 75
Accepted
time: 0ms
memory: 3904kb

output:

AC
59

result:

ok Correct, 59 queries used

Test #142:

score: 3.8344
Acceptable Answer
time: 106ms
memory: 4076kb

output:

AC
3599

result:

points 0.05112531260 Correct, 3599 queries used

Test #143:

score: 4.32602
Acceptable Answer
time: 96ms
memory: 6144kb

output:

AC
3190

result:

points 0.05768025080 Correct, 3190 queries used

Test #144:

score: 24.9548
Acceptable Answer
time: 17ms
memory: 3944kb

output:

AC
553

result:

points 0.33273056060 Correct, 553 queries used

Test #145:

score: 3.83546
Acceptable Answer
time: 106ms
memory: 3952kb

output:

AC
3598

result:

points 0.0511395220 Correct, 3598 queries used

Test #146:

score: 20.146
Acceptable Answer
time: 21ms
memory: 3904kb

output:

AC
685

result:

points 0.26861313870 Correct, 685 queries used

Test #147:

score: 4.22794
Acceptable Answer
time: 97ms
memory: 4208kb

output:

AC
3264

result:

points 0.0563725490 Correct, 3264 queries used

Test #148:

score: 4.45018
Acceptable Answer
time: 91ms
memory: 3964kb

output:

AC
3101

result:

points 0.05933569820 Correct, 3101 queries used

Test #149:

score: 3.65176
Acceptable Answer
time: 111ms
memory: 3904kb

output:

AC
3779

result:

points 0.04869012970 Correct, 3779 queries used

Test #150:

score: 3.75306
Acceptable Answer
time: 109ms
memory: 3908kb

output:

AC
3677

result:

points 0.05004079410 Correct, 3677 queries used

Test #151:

score: 3.88076
Acceptable Answer
time: 101ms
memory: 3940kb

output:

AC
3556

result:

points 0.05174353210 Correct, 3556 queries used

Test #152:

score: 7.15026
Acceptable Answer
time: 57ms
memory: 4076kb

output:

AC
1930

result:

points 0.09533678760 Correct, 1930 queries used

Test #153:

score: 75
Accepted
time: 3ms
memory: 3904kb

output:

AC
165

result:

ok Correct, 165 queries used

Test #154:

score: 75
Accepted
time: 2ms
memory: 4012kb

output:

AC
55

result:

ok Correct, 55 queries used

Test #155:

score: 75
Accepted
time: 4ms
memory: 3924kb

output:

AC
100

result:

ok Correct, 100 queries used

Test #156:

score: 75
Accepted
time: 5ms
memory: 3956kb

output:

AC
161

result:

ok Correct, 161 queries used

Test #157:

score: 75
Accepted
time: 4ms
memory: 5848kb

output:

AC
112

result:

ok Correct, 112 queries used

Test #158:

score: 75
Accepted
time: 3ms
memory: 4228kb

output:

AC
89

result:

ok Correct, 89 queries used

Test #159:

score: 75
Accepted
time: 5ms
memory: 4232kb

output:

AC
133

result:

ok Correct, 133 queries used

Test #160:

score: 75
Accepted
time: 3ms
memory: 3908kb

output:

AC
69

result:

ok Correct, 69 queries used

Test #161:

score: 75
Accepted
time: 6ms
memory: 4240kb

output:

AC
164

result:

ok Correct, 164 queries used

Test #162:

score: 75
Accepted
time: 5ms
memory: 4204kb

output:

AC
126

result:

ok Correct, 126 queries used

Test #163:

score: 75
Accepted
time: 6ms
memory: 4208kb

output:

AC
166

result:

ok Correct, 166 queries used

Test #164:

score: 75
Accepted
time: 5ms
memory: 4008kb

output:

AC
156

result:

ok Correct, 156 queries used

Test #165:

score: 75
Accepted
time: 3ms
memory: 3896kb

output:

AC
88

result:

ok Correct, 88 queries used

Test #166:

score: 75
Accepted
time: 2ms
memory: 4228kb

output:

AC
55

result:

ok Correct, 55 queries used

Test #167:

score: 75
Accepted
time: 3ms
memory: 4072kb

output:

AC
68

result:

ok Correct, 68 queries used

Test #168:

score: 75
Accepted
time: 5ms
memory: 6024kb

output:

AC
115

result:

ok Correct, 115 queries used

Test #169:

score: 75
Accepted
time: 4ms
memory: 4208kb

output:

AC
111

result:

ok Correct, 111 queries used

Test #170:

score: 75
Accepted
time: 6ms
memory: 4012kb

output:

AC
167

result:

ok Correct, 167 queries used