fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int N;
  6. cin >> N;
  7. while (N % 13 != 0){
  8. cout << N << " " << endl;
  9. N = N + 1;
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5304KB
stdin
20
stdout
20 
21 
22 
23 
24 
25