Borderou de evaluare (job #1536513)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 26 noiembrie 2015 12:18:10
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:86: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:87: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:89:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:91: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:96:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &M); ^ user.cpp:98: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:99: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
10ms1164kbOK10
20ms1160kbOK10
34ms1236kbOK10
464ms2376kbOK10
5136ms2376kbOK10
6272ms2376kbOK10
7312ms2376kbOK10
8176ms2376kbOK10
9276ms2376kbOK10
10248ms2376kbOK10
Punctaj total100

Ceva nu functioneaza?