Borderou de evaluare (job #1220991)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 10:07:47
Problema Tri Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 25

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:119: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:120: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:121: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:122:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:124: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
10ms652kbraspuns gresit0
20ms648kbraspuns gresit0
30ms624kbFisier de iesire incomplet0
44ms692kbraspuns gresit0
50ms672kbBravo!5
64ms692kbraspuns gresit0
70ms624kbFisier de iesire incomplet0
84ms696kbBravo!5
90ms672kbBravo!5
100ms652kbraspuns gresit0
110ms648kbraspuns gresit0
1212ms804kbBravo!5
1312ms808kbBravo!5
1420ms824kbFisier de iesire incomplet0
1524ms936kbraspuns gresit0
1628ms980kbraspuns gresit0
1732ms1004kbraspuns gresit0
1852ms1020kbFisier de iesire incomplet0
1944ms1068kbraspuns gresit0
2052ms1024kbFisier de iesire incomplet0
Punctaj total25

Ceva nu functioneaza?