#13064: 輸出五行???


lol59487 (Astrayt)


不知為何有五行輸出

#include <iostream>
#include <string>
using namespace std;
int main(int argc, char** argv) {
long long int a;
while(cin>>a){
string b;
if(a%3!=0) b="no";
else b="yes";
cout<<b<<endl;
}
}

#13069: Re:輸出五行???


lol59487 (Astrayt)


不知為何有五行輸出

#include
#include
using namespace std;
int main(int argc, char** argv) {
long long int a;
while(cin>>a){
string b;
if(a%3!=0) b="no";
else b="yes";
cout<<b<<endl;
}
}



修正

是輸出四行

#13070: Re:輸出五行???


nkavengertree (LaG)


不知為何有五行輸出

#include
#include
using namespace std;
int main(int argc, char** argv) {
long long int a;
while(cin>>a){
string b;
if(a%3!=0) b="no";
else b="yes";
cout<<b<<endl;
}
}



修正

是輸出四行

long long :  –9,223,372,036,854,775,808 到 9,223,372,036,854,775,807

題目       : n (-10^10001<=n<=10^10001)
好像裝不下喔