AT_birthday0410_a题解
updated on 2024/11/2 修改了第二组问题中语言描述不严谨的情况
题意分析
给定三组完成
对于第一组源代码,当
对于第二组源代码,当
对于第三组代码,与第一组相同。
由此,我们可以写出代码。
代码
#include<bits/stdc++.h>
using namespace std;
int main()
{
int x;
cin>>x;
if(x==2) cout<<"-2147483648 0"<<endl<<"0 0"<<endl;
else cout<<"-1 1"<<endl<<"0 0"<<endl;
return 0;
}