This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub beet-aizu/library
// verification-helper: PROBLEM https://yukicoder.me/problems/3354 #include<bits/stdc++.h> using namespace std; #define call_from_test #include "../../io/yesno.cpp" #undef call_from_test signed main(){ cin.tie(0); ios::sync_with_stdio(0); int a,b; cin>>a>>b; cout<<YESNO[a%b==0]<<endl; return 0; }
#line 1 "test/yukicoder/3354.test.cpp" // verification-helper: PROBLEM https://yukicoder.me/problems/3354 #include<bits/stdc++.h> using namespace std; #define call_from_test #line 1 "io/yesno.cpp" #line 3 "io/yesno.cpp" using namespace std; #endif //BEGIN CUT HERE struct BoolPrinter{ const string a,b; BoolPrinter(string a_,string b_):a(a_),b(b_){} string operator[](int k){return k?a:b;} }; BoolPrinter yesno("yes","no"); BoolPrinter YesNo("Yes","No"); BoolPrinter YESNO("YES","NO"); //END CUT HERE #ifndef call_from_test signed main(){ return 0; } #endif #line 8 "test/yukicoder/3354.test.cpp" #undef call_from_test signed main(){ cin.tie(0); ios::sync_with_stdio(0); int a,b; cin>>a>>b; cout<<YESNO[a%b==0]<<endl; return 0; }