Pagini recente » Borderou de evaluare (job #1429785) | Borderou de evaluare (job #152178) | Borderou de evaluare (job #206190) | Borderou de evaluare (job #335043) | Borderou de evaluare (job #2218688)
Borderou de evaluare (job #2218688)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:3:18: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
#define inf 1<<31-1
~~^~
user.cpp:24:27: note: in expansion of macro ‘inf’
rez[i][j]=inf;
^~~
user.cpp: In function ‘int floyd()’:
user.cpp:44:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void check()’:
user.cpp:48:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=1; i<=n; i++)
^~~
user.cpp:52:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
g<<"DA"<<endl;
^
user.cpp: In function ‘int main()’:
user.cpp:3:18: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
#define inf 1<<31-1
~~^~
user.cpp:63:22: note: in expansion of macro ‘inf’
{d[x][y]=inf; a[x][y]=0; rez[x][y]=inf;}
^~~
user.cpp:3:18: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
#define inf 1<<31-1
~~^~
user.cpp:63:48: note: in expansion of macro ‘inf’
{d[x][y]=inf; a[x][y]=0; rez[x][y]=inf;}
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1356kb | Incorect | 0 |
Punctaj total | 0 |