Borderou de evaluare (job #2695195)
Utilizator | Data | 12 ianuarie 2021 01:01:53 | |
---|---|---|---|
Problema | PScNv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read1()':
main.cpp:15:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp: In function 'void read()':
main.cpp:41:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp: In function 'int dijkstra(int, int)':
main.cpp:91:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l[j].size()>nr[j]) break;
~~~~~~~~~~~^~~~~~
main.cpp:95:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(l[j].size()>nr[j] && viz[l[j][nr[j]]])
~~~~~~~~~~~^~~~~~
main.cpp:98:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
}while(l[j].size()==nr[j]);
~~~~~~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:120:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscnv.in","r",stdin);
^
main.cpp:121:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pscnv.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !