Pagini recente » Borderou de evaluare (job #876531) | Borderou de evaluare (job #2690678) | Borderou de evaluare (job #895053) | Borderou de evaluare (job #2090698) | Borderou de evaluare (job #1569764)
Borderou de evaluare (job #1569764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(linie>0&&linie<n+1&&coloana<n+1&&coloana>0&&a[linie][coloana]==0||(a[coada[ic].l][coada[ic].c]<a[linie][coloana]&&a[linie][coloana]>0))
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&n,&c);
^
user.cpp:22:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&mat[i][j]);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 8ms | 2240kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 12ms | 2280kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 2356kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 24ms | 812kb | OK | 10 |
6 | 20ms | 2664kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 12ms | 2568kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 16ms | 2644kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 12ms | 2548kb | Killed by signal 11(SIGSEGV). | 0 |
10 | Depăşit | 2836kb | Time limit exceeded. | 0 |
Punctaj total | 20 |