Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1728975)
| Utilizator | Data | 13 iulie 2016 22:44:46 | |
|---|---|---|---|
| Problema | Livada3 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.in","r",stdin);
^
user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.out","w",stdout);
^
user.cpp:49:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld",&N,&M,&C,&R);
^
user.cpp:50:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld%lld",&x,&y,&z,&w,&u);
^
user.cpp:51:116: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=M;i++)scanf("%lld",&Mat[1][i]),MAX[1][i]=max(MAX[1][i-1],Mat[1][i]),Sum[1][i]=Sum[1][i-1]+Mat[1][i];
^
user.cpp:52:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=2;i<=N;i++)scanf("%lld",&Mat[i][1]),MAX[i][1]=Sum[i][1]=Mat[i][1];
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 928kb | Incorect | 0 |
| 2 | 0ms | 1732kb | OK | 10 |
| 3 | 24ms | 7332kb | Incorect | 0 |
| 4 | 24ms | 8484kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 32ms | 10824kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 32ms | 10832kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 200ms | 58872kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 200ms | 58872kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 200ms | 58872kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 524kb | Incorect | 0 |
| Punctaj total | 10 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
