Pagini recente » Borderou de evaluare (job #248615) | Borderou de evaluare (job #2030470) | Borderou de evaluare (job #1663875) | Borderou de evaluare (job #1666329) | Borderou de evaluare (job #1723225)
Borderou de evaluare (job #1723225)
Raport evaluator
Compilare:
user.cpp: In function ‘double getArea(const std::vector<Point>&)’:
user.cpp:28:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < P.size(); ++i)
^
user.cpp: In function ‘std::vector<Point> Reorder(const std::vector<Point>&)’:
user.cpp:42:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = Pos; i < P.size(); i++) PP.push_back(P[i]);
^
user.cpp: In function ‘void Solve(std::vector<Point>&)’:
user.cpp:87:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i++; i < P.size(); i++) Side2.push_back(P[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:107:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split3.in", "r", stdin);
^
user.cpp:108:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split3.out", "w", stdout);
^
user.cpp:110:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:113:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &P[i].x, &P[i].y);
^
user.cpp:114:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &A.x, &A.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | OK! | 10 |
2 | 0ms | 504kb | OK! | 10 |
3 | 0ms | 548kb | OK! | 10 |
4 | 20ms | 716kb | OK! | 10 |
5 | 36ms | 860kb | OK! | 10 |
6 | 76ms | 1412kb | OK! | 10 |
7 | 192ms | 2400kb | OK! | 10 |
8 | 164ms | 2932kb | OK! | 10 |
9 | 192ms | 2408kb | OK! | 10 |
10 | 196ms | 3168kb | OK! | 10 |
Punctaj total | 100 |