Borderou de evaluare (job #2755742)
Utilizator | Data | 28 mai 2021 01:06:39 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:21:17: error: expected unqualified-id before '=' token
for(int = 1; i <= n; i++)
^
main.cpp:21:17: error: expected ';' before '=' token
main.cpp:21:17: error: expected primary-expression before '=' token
main.cpp:21:22: error: 'i' was not declared in this scope
for(int = 1; i <= n; i++)
^
main.cpp:21:28: error: expected ')' before ';' token
for(int = 1; i <= n; i++)
^
main.cpp:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int = 1; i <= n; i++)
^~~
main.cpp:21:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int = 1; i <= n; i++)
^
main.cpp:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int k = 1; k <= n; k++)
^~~
main.cpp:21:30: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int = 1; i <= n; i++)
^
main.cpp:21:30: error: 'i' was not declared in this scope
main.cpp:23:32: error: 'j' was not declared in this scope
for(int j = 1; j <= n; j++)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !