Borderou de evaluare (job #2508787)
Utilizator | Data | 13 decembrie 2019 00:26:04 | |
---|---|---|---|
Problema | Rege2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs()':
main.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < T[x].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:23:17: warning: unused variable 'z' [-Wunused-variable]
int x , y , z , j;
^
main.cpp: In function 'int solve(int)':
main.cpp:59:30: warning: unused variable 'l' [-Wunused-variable]
int i , nr , x , y , z , l , aux;
^
main.cpp: In function 'int bs()':
main.cpp:140:10: error: 'maxs' was not declared in this scope
dr = maxs;
^~~~
main.cpp: In function 'int main()':
main.cpp:159:33: warning: unused variable 'k' [-Wunused-variable]
int t , x , y , z , i , j , k;
^
main.cpp:157:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rege2.in" , "r" , stdin);
^
main.cpp:158:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rege2.out" , "w" , stdout);
^
main.cpp:160:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &t);
^
main.cpp:163:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &sum);
^
main.cpp:167:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &x , &y , &z);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !