Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

[SOLVED]Problems with 1181B

Revision ru2, by oknehcajd, 2019-06-17 14:18:45

I have some problems with task 1181B. I have 2 main submissions. They are : https://codeforces.com/contest/1181/submission/55673412 and https://codeforces.com/contest/1181/submission/55673377. if you compare them, u will see that only difference between them string "x += s[i];" in 2 loops. But difference between memories of this 2 submissions is 524300 kb. Can someone say why it is?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru2 Russian oknehcajd 2019-06-17 14:18:45 8
ru1 Russian oknehcajd 2019-06-17 12:09:11 405 Первая редакция (опубликовано)