diff options
author | Santo Cariotti <sancn@live.com> | 2017-01-23 19:31:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 19:31:26 +0100 |
commit | b58c93e17aacef2c4319d8e5271b799708fbc7a0 (patch) | |
tree | 6f2c54a7f68a76d1cc16c62a31d0ee796913cd03 | |
parent | c90888986655bddd374f18a6ede48be0f29e6e20 (diff) |
Update crittografia.cc
-rw-r--r-- | crittografia.cc | 5 |
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); |