fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int vini, vfin, i;
  6. cin >> vini >> vfin;
  7. for (i=vini; i<=vfin; i++)
  8. if(i%2 == 1)cout << i << "";
  9. cout << endl;
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5272KB
stdin
1
5
stdout
135