Pagini recente » Borderou de evaluare (job #2716836) | Cod sursa (job #602055) | Cod sursa (job #720107) | Borderou de evaluare (job #1736576) | Borderou de evaluare (job #1964298)
Borderou de evaluare (job #1964298)
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:66: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:67: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:75:28: 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 | 12ms | 8312kb | OK | 10 |
| 2 | 12ms | 8308kb | OK | 10 |
| 3 | 20ms | 8316kb | OK | 10 |
| 4 | 20ms | 8304kb | Incorect | 0 |
| 5 | 44ms | 9072kb | OK | 10 |
| 6 | 168ms | 12248kb | OK | 10 |
| 7 | 260ms | 14240kb | OK | 10 |
| 8 | 448ms | 18604kb | OK | 10 |
| 9 | 472ms | 19388kb | OK | 10 |
| 10 | 512ms | 20200kb | OK | 10 |
| Punctaj total | 90 |