Pagini recente » Borderou de evaluare (job #1862817) | Borderou de evaluare (job #1911691) | Borderou de evaluare (job #1395973) | Borderou de evaluare (job #113193) | Borderou de evaluare (job #1774533)
Borderou de evaluare (job #1774533)
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:124: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:125: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:128: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:129:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:131: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 | 7808ms | 24152kb | Incorect | 0 |
Punctaj total | 0 |