#11435: 一直WAWAWAWAWA怎辦???(line5)


ethan555066 (unknown)


#include <iostream>

using namespace std;

int main(int argc, char** argv) {
 
 long long int x;
 
 while(cin >> x){
  if(x%3==0)
  cout << "yes";
  else
  cout << "no";
 }
 
 return 0;
}

#11442: Re:一直WAWAWAWAWA怎辦???(line5)


bear890707 (Tim Hsiung)


#include

using namespace std;

int main(int argc, char** argv) {
 
 long long int x;
 
 while(cin >> x){
  if(x%3==0)
  cout << "yes";
  else
  cout << "no";
 }
 
 return 0;
}

你用long long 當然WA阿

要不要考慮一下用字串存起來