Pagini recente » Borderou de evaluare (job #1553082) | Borderou de evaluare (job #2870185) | Borderou de evaluare (job #2110655) | Borderou de evaluare (job #2244271) | Borderou de evaluare (job #1785641)
Borderou de evaluare (job #1785641)
Raport evaluator
Compilare:
user.cpp: In function ‘void rez(int)’:
user.cpp:35:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(mat[i][k] && mat[k][j]&& mat[i][j]&& mat[i][k]+mat[k][j]<mat[i][j] ||mat[i][k]&&mat[k][j]&&!mat[i][j])
^
user.cpp: In function ‘void citire()’:
user.cpp:43:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:47:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:51:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&a,&b);
^
user.cpp:57:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 856kb | OK | 100 |
Punctaj total | 100 |