fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a,b=2;
  6.  
  7.  
  8. for(a=1;a<=10;a++)
  9. cout<<b*a;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
2468101214161820