Borderou de evaluare (job #1220952)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 08:04:05
Problema Tri Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In member function ‘void ramase::add_point(int)’: user.cpp:48: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:57: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:129:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() > n / 3) { ^ user.cpp:134:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:134:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (T1.size() != n / 3 || R.topX.size() != n / 3) continue; ^ user.cpp:110: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:111: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:112: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:113:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:115: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
10ms636kbBravo!5
20ms644kbraspuns gresit0
30ms652kbraspuns gresit0
40ms688kbBravo!5
50ms660kbBravo!5
60ms688kbBravo!5
70ms656kbraspuns gresit0
80ms688kbBravo!5
90ms664kbBravo!5
100ms640kbraspuns gresit0
110ms636kbBravo!5
128ms792kbBravo!5
138ms796kbBravo!5
1412ms860kbraspuns gresit0
1520ms932kbraspuns gresit0
1624ms972kbraspuns gresit0
1724ms988kbraspuns gresit0
1828ms1056kbraspuns gresit0
1928ms1048kbraspuns gresit0
2032ms1056kbraspuns gresit0
Punctaj total45

Ceva nu functioneaza?