#include <iostream>
using namespace std;
int main()
{
int a;
while(cin>>a,1912<=a<=2147483647)
{
cout<<a-1911<<endl;
}
system("pause");
return 0;
}
這樣錯在哪
#include
using namespace std;
int main()
{
int a;
while(cin>>a,1912<=a<=2147483647)
{
cout< }
system("pause");
return 0;
}
這樣錯在哪
,1912<=a<=2147483647
不需要這段.. (這樣沒CE噢...= =)
題目給的就是範圍內的數字..
system("pause") 也是不用加的..