P1421
rt
This is my code before:(language is C++)
#include<bits/stdc++.h>
#define int long long
using namespace std;
int a,b;
signed main(){
cin>>a>>b;
cout<<int((a+b*0.1)/1.9);
return 0;
}
GCC says:
"#define int long long is wrong"
But I think int and long long is not wrong.
This is my AC code(language is C++ to):
#include<bits/stdc++.h>
using namespace std;
int a,b;
signed main(){
cin>>a>>b;
cout<<int((a+b*0.1)/1.9);
return 0;
}
Thank for your help!!!