Borderou de evaluare (job #2456264)
Utilizator | Data | 14 septembrie 2019 08:58:19 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:84:88: error: unable to find character literal operator 'operator""and' with 'char' argument
if(limita(i+dirLin[k],j+dirCol[k]) and (a[i+dirLin[k]][j+dirCol[k]] == '0'and dist[i+dirLin[k]][j+dirCol[k]] ==0))
^~~~~~
main.cpp:84:95: error: expected ')' before 'dist'
if(limita(i+dirLin[k],j+dirCol[k]) and (a[i+dirLin[k]][j+dirCol[k]] == '0'and dist[i+dirLin[k]][j+dirCol[k]] ==0))
^~~~
main.cpp:90:9: error: expected ')' before 'q'
q.pop();
^
main.cpp:31:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d\n", &n,&m);
^
main.cpp:33:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a[i]+1, m+3, fin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !