mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
15 lines
285 B
C++
15 lines
285 B
C++
#include "stdio.h"
|
|
#include <vector>
|
|
#include <iostream>
|
|
|
|
int main(int argc, const char *argv[])
|
|
{
|
|
std::vector<int> x;
|
|
x.push_back(1);
|
|
for(int i = 1; i < 20; i++)
|
|
x.push_back(x[0]);
|
|
for(int i = 0; i < (int)x.size(); i++)
|
|
std::cout << x[i] << '\n';
|
|
return 0;
|
|
}
|
|
|