Pagini recente » Borderou de evaluare (job #2321458) | Borderou de evaluare (job #460674) | Borderou de evaluare (job #1630999) | Borderou de evaluare (job #683324) | Borderou de evaluare (job #1409855)
Borderou de evaluare (job #1409855)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%I64d",&m,&n,&p);
^
user.cpp:8:19: warning: unused variable ‘consmax’ [-Wunused-variable]
int m,n,i,maj,consmax=-1,nrmaj=0,cons,l,lmax=-1;
^
user.cpp:8:38: warning: variable ‘cons’ set but not used [-Wunused-but-set-variable]
int m,n,i,maj,consmax=-1,nrmaj=0,cons,l,lmax=-1;
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("livada.out","w",stdout);
^
user.cpp:11:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%I64d",&m,&n,&p);
^
user.cpp:19:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&r[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 1092kb | A doua linie corecta! | 6 |
2 | 8ms | 1080kb | A doua linie corecta! | 6 |
3 | 140ms | 632kb | A doua linie corecta! | 6 |
4 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 18 |