Pagini recente » Borderou de evaluare (job #1983514) | Borderou de evaluare (job #1893540)
Borderou de evaluare (job #1893540)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolva()’:
user.cpp:129: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:129:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:138:22: warning: unused variable ‘x’ [-Wunused-variable]
int a, b, c, x;
^
user.cpp:125: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:126: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:127: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:129: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:130:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:140: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 | 496kb | OK! | 10 |
3 | 0ms | 460kb | OK! | 5 |
4 | 0ms | 476kb | OK! | 5 |
5 | 0ms | 468kb | OK! | 5 |
6 | 0ms | 468kb | OK! | 5 |
7 | 0ms | 464kb | OK! | 5 |
8 | 0ms | 476kb | OK! | 5 |
9 | 0ms | 476kb | OK! | 5 |
10 | 0ms | 488kb | OK! | 5 |
11 | 4ms | 488kb | OK! | 10 |
12 | 4ms | 476kb | OK! | 5 |
13 | 4ms | 560kb | OK! | 10 |
14 | 12ms | 580kb | OK! | 10 |
15 | 16ms | 580kb | OK! | 10 |
Punctaj total | 100 |