fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int gifts, boxes;
  6. cin >> gifts >> boxes;
  7. if(gifts % boxes != 0) {
  8. cout << "imposibil";
  9. }
  10. if(gifts % boxes == 0) {
  11. cout << "posibil";
  12. }
  13. return 0;
  14. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
imposibil