From b58c93e17aacef2c4319d8e5271b799708fbc7a0 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 23 Jan 2017 19:31:26 +0100 Subject: Update crittografia.cc --- crittografia.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crittografia.cc b/crittografia.cc index 8bf7f4e..010faca 100644 --- a/crittografia.cc +++ b/crittografia.cc @@ -19,12 +19,11 @@ int main() in.open("input.txt"); out.open("output.txt"); - string num; int N; string ca; - getline(in, num); - istringstream(num) >> N; + getline(in, ca); + istringstream(ca) >> N; for(int i = 0; i < N; i++){ getline(in, ca); -- cgit v1.2.3-18-g5258