0_0_33720047_30437.cpp:2:12: error: 'll' does not name a type
#define ll ll
^
0_0_33720047_30437.cpp:4:1: note: in expansion of macro 'll'
ll n;
^
0_0_33720047_30437.cpp:2:12: error: 'll' does not name a type
#define ll ll
^
0_0_33720047_30437.cpp:6:1: note: in expansion of macro 'll'
ll su[100009],s[100009];
^
0_0_33720047_30437.cpp: In function 'void solve()':
0_0_33720047_30437.cpp:8:16: error: 'n' was not declared in this scope
scanf("%lld",&n);
^
0_0_33720047_30437.cpp:2:12: error: 'll' was not declared in this scope
#define ll ll
^
0_0_33720047_30437.cpp:12:6: note: in expansion of macro 'll'
for(ll i=1; i<=n+1; i++) {
^
0_0_33720047_30437.cpp:12:14: error: 'i' was not declared in this scope
for(ll i=1; i<=n+1; i++) {
^
0_0_33720047_30437.cpp:13:3: error: 'su' was not declared in this scope
su[i]=su[i-1]+(a[i]!=b[i]);
^
0_0_33720047_30437.cpp:14:3: error: 's' was not declared in this scope
s[i]=s[i-1]+(b[i]-'0');
^
0_0_33720047_30437.cpp:2:12: error: 'll' was not declared in this scope
#define ll ll
^
0_0_33720047_30437.cpp:16:2: note: in expansion of macro 'll'
ll ans=su[n+1];
^
0_0_33720047_30437.cpp:17:5: error: expected ';' before 's'
ll s=0;
^
0_0_33720047_30437.cpp:18:9: error: expected ';' before 'i'
for(ll i=1; i<=n+1; i++) {
^
0_0_33720047_30437.cpp:18:14: error: 'i' was not declared in this scope
for(ll i=1; i<=n+1; i++) {
^
0_0_33720047_30437.cpp:19:6: error: expected ';' before 't'
ll t=su[n+1]-su[i]+1;
^
0_0_33720047_30437.cpp:20:16: error: 't' was not declared in this scope
if(a[i]=='1')t++;
^
0_0_33720047_30437.cpp:21:3: error: 't' was not declared in this scope
t+=s;
^
0_0_33720047_30437.cpp:21:6: error: 's' was not declared in this scope
t+=s;
^
0_0_33720047_30437.cpp:24:3: error: 'ans' was not declared in this scope
ans=min(ans,t);
^
0_0_33720047_30437.cpp:26:18: error: 'ans' was not declared in this scope
printf("%lld\n",ans);
^
0_0_33720047_30437.cpp: In function 'int main()':
0_0_33720047_30437.cpp:2:12: error: 'll' was not declared in this scope
#define ll ll
^
0_0_33720047_30437.cpp:29:2: note: in expansion of macro 'll'
ll T;
^
0_0_33720047_30437.cpp:30:16: error: 'T' was not declared in this scope
scanf("%lld",&T);
^
|