why my submission in problem 36 A have runtime eror ? whatever i see correct answer in CUSTOM INVOCATION. code
why my submission in problem 36 A have runtime eror ? whatever i see correct answer in CUSTOM INVOCATION. code
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 4 | Um_nik | 143 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 135 |
| 9 | maroonrk | 133 |
| 10 | qwexd | 130 |
| Name |
|---|



do you saw those two lines
input.txt
output.txt
so you have to use
freopen("output.txt","w",stdout);
freopen("input.txt","r",stdin);
but codeforces is not stupid just you need to do more practice on it
so , tanks! i never solve such problem whit this strange lines .
Short answer to the title: No.
:D
Direct Stupid!!!!! Isn't it a bit harsh when the answer is no?
Hi everybody. After a long time of thinking about this question, I found the answer. The answer is yes. Please view the proof here: https://open.kattis.com/problems/kodkraft