Borderou de evaluare (job #1394926)
Utilizator | Data | 20 martie 2015 20:45:04 | |
---|---|---|---|
Problema | Rfinv | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I, Semestrul 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:22: error: ‘j’ was not declared in this scope
v[i][j]=0;
^
user.cpp:31:87: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(a[i][k]+a[k][j]<a[i][j] || (a[i][k]+a[k][j]==a[i][j] && v[i]==-1))
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !