ABC105A - AtCoder Crackers
#include <iostream> using namespace std; int main(void) { int n, k; cin.tie(0); ios::sync_with_stdio(false); cin >> n >> k; cout << (n % k? "1" : "0") << "\n"; return 0; }
#include <iostream> using namespace std; int main(void) { int n, k; cin.tie(0); ios::sync_with_stdio(false); cin >> n >> k; cout << (n % k? "1" : "0") << "\n"; return 0; }