fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int A[100];
  5. int n;
  6.  
  7. int main() {
  8. A[0]=5;
  9. for (int i = 0; i < 100; i++)
  10. A[i] = n*(i+1);
  11.  
  12. for (int i = 0; i < 100; i++)
  13. cout << A[i] << "\t";
  14.  
  15. return 0;
  16. }
  17.  
  18.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0