既然问了,那肯定赢
2024-10-13 19:45:30
发布于:云南
40阅读
0回复
0点赞
easy~
#include<bits/stdc++.h>
using namespace std;
int main(){
cout << 1;
return 0;
}
正常解法:
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b; cin >> a >> b;
int k = (int)(abs(a - b) * (sqrt(5) + 1) / 2);
if(k == min(a,b)) cout << 0 << endl;
else cout << 1 << endl;
return 0;
}
这里空空如也







有帮助,赞一个