fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int a, b;
  7.  
  8. cin >> a >>b;
  9.  
  10. if (a % b == 0) {
  11. cout << "permis";
  12.  
  13. }
  14.  
  15. if (a % b > 0) {
  16. cout << "nepermis";
  17.  
  18. }
  19.  
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0.01s 5288KB
stdin
25 5
stdout
permis