Borderou de evaluare (job #2376933)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
main.cpp:24:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
main.cpp:25:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:26:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) {scanf("%d",&v[i]);mmax=max(mmax,v[i]);}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Corect! | 10 | 10 |
| 2 | 4ms | 131kb | Corect! | 10 | 10 |
| 3 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
| 4 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
| 5 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
| 6 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
| 7 | 3ms | 131kb | Subsir incorect! | 5 | 5 |
| 8 | 64ms | 917kb | Subsir incorect! | 5 | 20 |
| 9 | 52ms | 917kb | Corect! | 10 |
| 10 | 62ms | 917kb | Subsir incorect! | 5 |
| Punctaj total | 65 |