Borderou de evaluare (job #2577541)
Utilizator | Data | 9 martie 2020 16:19:16 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:12: warning: ISO C++11 requires whitespace after the macro name
#define INF=1000000007
^
main.cpp: In function 'int main()':
main.cpp:3:12: error: expected primary-expression before '=' token
#define INF=1000000007
^
main.cpp:18:27: note: in expansion of macro 'INF'
mat[i][j]=INF;
^~~
main.cpp:3:12: error: expected primary-expression before '=' token
#define INF=1000000007
^
main.cpp:28:31: note: in expansion of macro 'INF'
if(mat[i][k]!=INF && mat[k][j]!=INF && i!=j && j!=k && i!=k)
^~~
main.cpp:3:12: error: expected primary-expression before '=' token
#define INF=1000000007
^
main.cpp:28:49: note: in expansion of macro 'INF'
if(mat[i][k]!=INF && mat[k][j]!=INF && i!=j && j!=k && i!=k)
^~~
main.cpp:3:12: error: expected primary-expression before '=' token
#define INF=1000000007
^
main.cpp:42:27: note: in expansion of macro 'INF'
if(mat[i][j]!=INF)
^~~
main.cpp:51:1: error: expected '}' at end of input
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !