Borderou de evaluare (job #1536509)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 26 noiembrie 2015 11:57:03
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void build(int, int, int)’: user.cpp:24:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < ArbInt[pos*2].size() || j < ArbInt[pos*2+1].size()) { ^ user.cpp:24:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < ArbInt[pos*2].size() || j < ArbInt[pos*2+1].size()) { ^ user.cpp:25:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] int val1 = (i == ArbInt[pos*2+0].size()) ? 0 : ArbInt[pos*2+0][i]; ^ user.cpp:26:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] int val2 = (j == ArbInt[pos*2+1].size()) ? 0 : ArbInt[pos*2+1][j]; ^ user.cpp: In function ‘int main()’: user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zoo.in" ,"r", stdin ); ^ user.cpp:84:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("zoo.out","w", stdout); ^ user.cpp:86:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:88:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &Points[i].x, &Points[i].y); ^ user.cpp:93:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &M); ^ user.cpp:95:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &X1, &Y1); ^ user.cpp:96:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &X2, &Y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1936kbOK10
212ms10116kbKilled by signal 11(SIGSEGV).0
34ms2000kbOK10
436ms11448kbKilled by signal 11(SIGSEGV).0
540ms11428kbKilled by signal 11(SIGSEGV).0
6336ms3168kbOK10
7412ms3168kbOK10
8172ms3168kbOK10
9280ms3168kbOK10
10232ms3168kbOK10
Punctaj total70

Ceva nu functioneaza?