Borderou de evaluare (job #1220979)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 09:39:06
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:138:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() > n / 3) { ^ user.cpp:143:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:143:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:156:12: warning: unused variable ‘x1’ [-Wunused-variable] double x1 = getPX(p1); ^ 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
10ms644kbraspuns gresit0
20ms644kbraspuns gresit0
30ms660kbraspuns gresit0
40ms688kbraspuns gresit0
50ms664kbraspuns gresit0
60ms688kbraspuns gresit0
70ms656kbraspuns gresit0
80ms688kbraspuns gresit0
90ms664kbraspuns gresit0
100ms644kbBravo!5
110ms644kbraspuns gresit0
128ms792kbraspuns gresit0
1312ms800kbraspuns gresit0
1416ms860kbraspuns gresit0
1520ms932kbraspuns gresit0
1624ms976kbraspuns gresit0
1728ms1000kbraspuns gresit0
1836ms1056kbraspuns gresit0
1936ms1056kbraspuns gresit0
2036ms1064kbraspuns gresit0
Punctaj total5

Ceva nu functioneaza?