Pagini recente » Borderou de evaluare (job #1052963) | Borderou de evaluare (job #2347419) | Borderou de evaluare (job #2379958) | Borderou de evaluare (job #830593) | Borderou de evaluare (job #2556877)
Borderou de evaluare (job #2556877)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:67:41: warning: self-comparison always evaluates to false [-Wtautological-compare]
if (mat2[i][j-1]!=mat2[i][j-1])
~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:66:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i][j-1]]+v[mat2[i][j+1]]+1>max2)
^
main.cpp:72:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i-1][j]]+v[mat2[i+1][j]]+1>max2)
^
main.cpp:78:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i][j-1]]+v[mat2[i-1][j]]+1>max2)
^
main.cpp:84:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i+1][j]]+v[mat2[i][j+1]]+1>max2)
^
main.cpp:90:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i-1][j]]+v[mat2[i][j+1]]+1>max2)
^
main.cpp:96:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (v[mat2[i][j-1]]+v[mat2[i+1][j]]+1>max2)
^
main.cpp:33:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.in","r",stdin);
^
main.cpp:34:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.out","w",stdout);
^
main.cpp:35:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &p, &n, &m);
^
main.cpp:39:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n", &c);
^
main.cpp:41:32: 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 | 4ms | 393kb | Corect! Varianta 1 | 5 |
2 | 6ms | 524kb | Corect! Varianta 1 | 5 |
3 | 9ms | 1048kb | Corect! Varianta 1 | 5 |
4 | 17ms | 1310kb | Corect! Varianta 1 | 5 |
5 | 66ms | 9043kb | Corect! Varianta 1 | 5 |
6 | 2ms | 131kb | Corect! Varianta 2 | 5 |
7 | 3ms | 393kb | Corect! Varianta 2 | 5 |
8 | 3ms | 393kb | Corect! Varianta 2 | 5 |
9 | 4ms | 524kb | Corect! Varianta 2 | 5 |
10 | 4ms | 524kb | Corect! Varianta 2 | 5 |
11 | 8ms | 655kb | Corect! Varianta 2 | 5 |
12 | 13ms | 1048kb | Corect! Varianta 2 | 5 |
13 | 25ms | 2097kb | Gresit! | 0 |
14 | 15ms | 1310kb | Corect! Varianta 2 | 5 |
15 | 28ms | 1703kb | Corect! Varianta 2 | 5 |
16 | 26ms | 1703kb | Corect! Varianta 2 | 5 |
17 | 28ms | 1835kb | Gresit! | 0 |
18 | 29ms | 1835kb | Corect! Varianta 2 | 5 |
19 | 43ms | 2621kb | Corect! Varianta 2 | 5 |
20 | 2ms | 131kb | Corect! Varianta 1 | 5 |
Punctaj total | 90 |