Pagini recente » Borderou de evaluare (job #1256829) | Borderou de evaluare (job #1754440) | Borderou de evaluare (job #1493941) | Borderou de evaluare (job #70293) | Borderou de evaluare (job #1893565)
Borderou de evaluare (job #1893565)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolva()’:
user.cpp:171:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d", &Arb[i].x, &Arb[i].y, &Arb[i].c);
^
user.cpp:171:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:184:22: warning: unused variable ‘x’ [-Wunused-variable]
int a, b, c, x;
^
user.cpp:165:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("online.in", "r", stdin);
^
user.cpp:166:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("online.out", "w", stdout);
^
user.cpp:168:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:171:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &Arb[i].x, &Arb[i].y, &Arb[i].c);
^
user.cpp:173:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:186:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK! | 5 |
2 | 32ms | 500kb | OK! | 10 |
3 | 0ms | 464kb | OK! | 5 |
4 | 0ms | 480kb | OK! | 5 |
5 | 0ms | 468kb | OK! | 5 |
6 | 0ms | 468kb | OK! | 5 |
7 | 0ms | 468kb | OK! | 5 |
8 | 0ms | 472kb | OK! | 5 |
9 | 0ms | 476kb | OK! | 5 |
10 | 0ms | 488kb | OK! | 5 |
11 | 4ms | 488kb | OK! | 10 |
12 | 4ms | 472kb | OK! | 5 |
13 | 4ms | 556kb | OK! | 10 |
14 | 12ms | 576kb | OK! | 10 |
15 | 16ms | 584kb | OK! | 10 |
Punctaj total | 100 |