fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a = 2;
  6. int b = 1;
  7. printf("%d",a);
  8. while(b <= 7){
  9. a += 3;
  10. printf("%d",a);
  11. b += 1;
  12. a += 2;
  13. printf("%d",a);
  14. b += 1;
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0s 4540KB
stdin
Standard input is empty
stdout
257101215172022