Borderou de evaluare (job #1220957)

Utilizator vlad_DVlad Dumitriu vlad_D Data 19 august 2014 08:25:06
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
2Depăşit596kbTime limit exceeded.0
3Depăşit604kbTime limit exceeded.0
40ms684kbBravo!5
50ms668kbBravo!5
60ms688kbBravo!5
7Depăşit612kbTime limit exceeded.0
80ms684kbBravo!5
90ms656kbBravo!5
10Depăşit596kbTime limit exceeded.0
110ms636kbBravo!5
128ms788kbBravo!5
138ms796kbBravo!5
1416ms860kbraspuns gresit0
1520ms924kbraspuns gresit0
1624ms972kbraspuns gresit0
1728ms992kbraspuns gresit0
1828ms1056kbraspuns gresit0
1928ms1056kbraspuns gresit0
2032ms1056kbraspuns gresit0
Punctaj total45

Ceva nu functioneaza?