Borderou de evaluare (job #1220987)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 09:59:26
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:139:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() > n / 3) { ^ user.cpp:144:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:144:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:120: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:121: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:122: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:123:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:125: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
10ms648kbBravo!5
20ms652kbG nu e in triunghi0
30ms620kbFisier de iesire incomplet0
44ms692kbG nu e in triunghi0
50ms676kbraspuns gresit0
64ms692kbraspuns gresit0
70ms632kbFisier de iesire incomplet0
84ms696kbraspuns gresit0
90ms664kbraspuns gresit0
100ms648kbraspuns gresit0
110ms644kbraspuns gresit0
1212ms796kbraspuns gresit0
1312ms808kbraspuns gresit0
1420ms832kbFisier de iesire incomplet0
1524ms936kbG nu e in triunghi0
1628ms976kbraspuns gresit0
1732ms1004kbraspuns gresit0
1852ms1024kbFisier de iesire incomplet0
1940ms1060kbraspuns gresit0
2052ms1032kbFisier de iesire incomplet0
Punctaj total5

Ceva nu functioneaza?