Borderou de evaluare (job #1220985)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 09:53:48
Problema Tri Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In member function ‘void ramase::add_point(int)’: user.cpp:56:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (topX.size() > n / 3) { ^ user.cpp: In member function ‘void ramase::remove_point(int)’: user.cpp:65:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (topX.size() < n / 3 && R.size() > 0) { ^ user.cpp: In function ‘int main()’: user.cpp:145:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() > n / 3) { ^ user.cpp:150:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:150:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:126:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri.in", "r", stdin); ^ user.cpp:127:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri.out", "w", stdout); ^ user.cpp:128:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld %lld %lld", &C.x, &C.y, &A.x, &A.y, &B.x, &B.y); ^ user.cpp:129:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:131:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms644kbBravo!5
20ms644kbG nu e in triunghi0
30ms616kbFisier de iesire incomplet0
44ms688kbG nu e in triunghi0
50ms664kbraspuns gresit0
64ms692kbraspuns gresit0
70ms612kbFisier de iesire incomplet0
84ms684kbraspuns gresit0
90ms668kbraspuns gresit0
100ms640kbraspuns gresit0
110ms640kbraspuns gresit0
1212ms796kbraspuns gresit0
1312ms800kbraspuns gresit0
1424ms816kbFisier de iesire incomplet0
1524ms936kbG nu e in triunghi0
1628ms972kbraspuns gresit0
1732ms996kbraspuns gresit0
1852ms1016kbFisier de iesire incomplet0
1940ms1056kbraspuns gresit0
2052ms1016kbFisier de iesire incomplet0
Punctaj total5

Ceva nu functioneaza?