Borderou de evaluare (job #1220358)

Utilizator vlad_DVlad Dumitriu vlad_D Data 17 august 2014 02:59:07
Problema Poligon Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int)’: user.cpp:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < fp->v.size(); ++i) { ^ user.cpp:51:7: warning: unused variable ‘a’ [-Wunused-variable] int a = 0, b = fp->v.size() - 1; ^ user.cpp:51:14: warning: unused variable ‘b’ [-Wunused-variable] int a = 0, b = fp->v.size() - 1; ^ user.cpp: In function ‘int main()’: user.cpp:95:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i + 1 < unic_x.size(); ++i) { ^ user.cpp:98:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < s.size(); ++j) if (intersect(*fp, s[j])) { ^ user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poligon.in", "r", stdin); ^ user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poligon.out", "w", stdout); ^ user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:73:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &px[i], &py[i]); ^ user.cpp:110:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1824kbKilled by signal 11(SIGSEGV).0
20ms1848kbKilled by signal 11(SIGSEGV).0
30ms1916kbKilled by signal 11(SIGSEGV).0
44ms2052kbKilled by signal 11(SIGSEGV).0
54ms2312kbKilled by signal 11(SIGSEGV).0
636ms8612kbKilled by signal 11(SIGSEGV).0
712ms4028kbKilled by signal 11(SIGSEGV).0
820ms4976kbKilled by signal 11(SIGSEGV).0
924ms6400kbKilled by signal 11(SIGSEGV).0
1036ms8104kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?