#include<iostream> using namespace std; int main(){ int n; while(cin>>n){ if(n%3==0)cout<<"No"<<endl; else cout<<"Yes"<<endl; } return 0; /* Main.cc: In function 'int main()': Main.cc:10:10: error: expected '}' at end of input return 0; ^ Main.cc:3:11: note: to match this '{' int main(){ ^ */ |
Double click to view unformatted code.