fork download
  1. #include <iostream>
  2. #include <stdio.h>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. freopen ("input.txt", "r", stdin);
  8. freopen ("output.txt", "w", stdout);
  9. int a,b;
  10. cin >> a >> b;
  11. if (b > a) {
  12. cout << 0 << a;
  13. } else {
  14. cout << a / b << a % b;
  15. }
  16. return 0;
  17. }
Runtime error #stdin #stdout 0s 15240KB
stdin
10 100
stdout
Standard output is empty