Pagini recente » Borderou de evaluare (job #313526) | Cod sursa (job #2575301) | Borderou de evaluare (job #738919) | Borderou de evaluare (job #2471563) | Borderou de evaluare (job #1964327)
Borderou de evaluare (job #1964327)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:83:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 24ms | 16128kb | OK | 10 |
| 2 | 24ms | 16128kb | OK | 10 |
| 3 | 28ms | 16128kb | OK | 10 |
| 4 | 24ms | 16108kb | Incorect | 0 |
| 5 | 56ms | 16892kb | OK | 10 |
| 6 | 184ms | 20068kb | OK | 10 |
| 7 | 268ms | 22068kb | OK | 10 |
| 8 | 464ms | 26416kb | OK | 10 |
| 9 | 484ms | 27196kb | OK | 10 |
| 10 | 536ms | 28016kb | OK | 10 |
| Punctaj total | 90 |