Advertisement
StoneHaos

122

Oct 29th, 2019
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. //122
  2. #include <iostream>
  3. using namespace std;
  4. #define yes "Party is coming"
  5. #define no "It is a boring day"
  6.  
  7. int main(void) {
  8.     ios_base::sync_with_stdio(false);
  9.     cin.tie(NULL);
  10.     freopen("input.txt", "r", stdin);
  11.     freopen("output.txt", "w", stdout);
  12.     int n, m;
  13.     cin >> n >> m;
  14.     if (m < n || m % n != 0)
  15.         cout << no;
  16.     else
  17.         cout << yes;
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement