Pagini recente » Borderou de evaluare (job #1877509) | Borderou de evaluare (job #2803418) | Borderou de evaluare (job #2780581) | Borderou de evaluare (job #2417850) | Borderou de evaluare (job #1724347)
Borderou de evaluare (job #1724347)
Raport evaluator
Compilare:
user.cpp: In function ‘int64_t getArea(const std::vector<Point>&)’:
user.cpp:24:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < P.size(); i++) Area += llabs(Det(P[0], P[i - 1], P[i]));
^
user.cpp: In function ‘std::vector<Point> getConvex(std::vector<Point>&)’:
user.cpp:35:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < P.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.in", "r", stdin);
^
user.cpp:66:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.out", "w", stdout);
^
user.cpp:68:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:70:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &P[i].x, &P[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | Okay | 10 |
2 | 12ms | 476kb | Okay | 10 |
3 | 424ms | 480kb | Okay | 10 |
4 | 1232ms | 484kb | Okay | 10 |
5 | 392ms | 484kb | Okay | 10 |
6 | 172ms | 476kb | Okay | 10 |
7 | 1096ms | 484kb | Okay | 10 |
8 | Depăşit | 420kb | Time limit exceeded. | 0 |
9 | 856ms | 488kb | Okay | 10 |
10 | 1216ms | 484kb | Okay | 10 |
Punctaj total | 90 |