Pagini recente » Borderou de evaluare (job #1944989) | Borderou de evaluare (job #1237563) | Borderou de evaluare (job #1229449) | Borderou de evaluare (job #1610880) | Borderou de evaluare (job #1774501)
Borderou de evaluare (job #1774501)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<Point> getOctant(int, int, int)’:
user.cpp:29:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < d.size(); i++) {
^
user.cpp:31:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j < u.size() - 1 && u[j + 1].x + u[j + 1].y <= d[i].x + d[i].y) {
^
user.cpp: In function ‘int main()’:
user.cpp:125:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou4.in", "r", stdin);
^
user.cpp:126:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("metrou4.out", "w", stdout);
^
user.cpp:129:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &testCases); testCases > 0; testCases--) {
^
user.cpp:130:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:132:45: 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 | 7936ms | 24160kb | Incorect | 0 |
Punctaj total | 0 |