Borderou de evaluare (job #2000674)

Utilizator mihneacazCazacu Mihnea mihneacaz Data 14 iulie 2017 13:11:31
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:83:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<m.size(); ++j) ^ user.cpp:93:30: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=] printf("%.6lf\n",cost); ^ user.cpp:95:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<sol.size(); j++) ^ user.cpp:67:9: warning: unused variable ‘k’ [-Wunused-variable] int k=0; ^ user.cpp: In function ‘bool unionset(int, int)’: user.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.in","r",stdin); ^ user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("desen.out","w",stdout); ^ user.cpp:66:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:68:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a[1].x,&a[1].y); ^ user.cpp:73:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&a[i].x,&a[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbWrong Answer!0
20ms312kbWrong Answer!0
30ms320kbWrong Answer!0
416ms332kbWrong Answer!0
576ms352kbWrong Answer!0
676ms352kbWrong Answer!0
776ms352kbWrong Answer!0
876ms344kbWrong Answer!0
976ms356kbWrong Answer!0
1076ms348kbWrong Answer!0
Punctaj total0

Ceva nu functioneaza?