Borderou de evaluare (job #1220953)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 08:05:40
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
10ms644kbBravo!5
20ms644kbraspuns gresit0
30ms652kbraspuns gresit0
40ms680kbBravo!5
50ms664kbBravo!5
60ms688kbBravo!5
70ms660kbraspuns gresit0
80ms680kbBravo!5
90ms660kbBravo!5
100ms636kbraspuns gresit0
110ms636kbBravo!5
128ms788kbBravo!5
138ms796kbBravo!5
1412ms860kbraspuns gresit0
1520ms932kbraspuns gresit0
1624ms968kbraspuns gresit0
1724ms992kbraspuns gresit0
1828ms1052kbraspuns gresit0
1928ms1052kbraspuns gresit0
2032ms1060kbraspuns gresit0
Punctaj total45

Ceva nu functioneaza?