Borderou de evaluare (job #2370890)
| Utilizator | Data | 6 martie 2019 14:20:28 | |
|---|---|---|---|
| Problema | PetSoft | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs(int)':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp: In function 'void dinamicp(int)':
main.cpp:49:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
main.cpp: In function 'int main()':
main.cpp:69:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("petsoft.in", "r",stdin);
^
main.cpp:70:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("petsoft.out", "w",stdout);
^
main.cpp:72:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:74:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
