GastonFontenla

Timus: 1228 - Dill

Jun 5th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int n, m;
  8.     cin >> n >> m;
  9.     for(int i=0; i<n; i++)
  10.         cout << i+1 << " ";
  11.     cout << endl;
  12.     for(int i=1; i<=m; i++)
  13.         cout << i*10000 << " ";
  14.     cout << endl;
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment