Cod sursa(job #2217685)
Utilizator | Data | 1 iulie 2018 15:04:25 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <sstream>
#include <limits>
#include <numeric>
using namespace std;
int f(int &x)
{
x = 21;
}
int main() {
int age = 10;
vector<int> myVec(10);
iota(begin(myVec),end(myVec),0);
f(age);
cout<<age;
return 0;
}