Advertisement
xDefo

scommessa

May 9th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. // scommessa.cpp : definisce il punto di ingresso dell'applicazione console.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include <iostream>
  6. #include <stdio.h>
  7. #include <vector>
  8.  
  9. using namespace std;
  10.  
  11. int N;
  12. vector < int> Cn;
  13.  
  14. int main()
  15. {
  16.     freopen("input.txt", "r", stdin);
  17.     freopen("output.txt", "w", stdout);
  18.     cin >> N;
  19.     for (int i = 0; i < N; i++)
  20.     {
  21.         int temp;
  22.         cin >> temp;
  23.         Cn.push_back(temp);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement