Pagini recente » Cod sursa (job #1163657) | Diferente pentru problema/ciocolata2 intre reviziile 34 si 22 | Cod sursa (job #2631479) | Cod sursa (job #2383076) | Borderou de evaluare (job #1549172)
Borderou de evaluare (job #1549172)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.in","r",stdin);
^
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.out","w",stdout);
^
user.cpp:17:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d\n",&n,&x1,&y1,&x2,&y2);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:23:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(c=='R')scanf("%d\n",&(r[rn++]));
^
user.cpp:24:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d\n",&(a[an++]));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1844kb | OK | 10 |
| 2 | 0ms | 1848kb | OK | 10 |
| 3 | 0ms | 1844kb | OK | 10 |
| 4 | 0ms | 1848kb | OK | 10 |
| 5 | 4ms | 1848kb | OK | 10 |
| 6 | 0ms | 1848kb | OK | 10 |
| 7 | 4ms | 1844kb | OK | 10 |
| 8 | 4ms | 1848kb | OK | 10 |
| 9 | 4ms | 1836kb | OK | 10 |
| 10 | 0ms | 1852kb | OK | 10 |
| Punctaj total | 100 |