summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crittografia.cc5
1 files 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);