Pagini recente » Borderou de evaluare (job #889123) | Borderou de evaluare (job #3247291) | Borderou de evaluare (job #1455093) | Borderou de evaluare (job #210781) | Borderou de evaluare (job #1711299)
Borderou de evaluare (job #1711299)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &n, &m);
^
user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &x, &y);
^
user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apdm.in", "r", stdin);
^
user.cpp:14: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:19:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘void write()’:
user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apdm.out", "w", stdout);
^
user.cpp: In function ‘void solve()’:
user.cpp:33:19: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vis[x] = vis[y] = 0;
^
user.cpp:71:19: note: ‘nod’ was declared here
short int nod;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | Incorect | 0 |
| 2 | 0ms | 440kb | Incorect | 0 |
| 3 | 0ms | 444kb | Incorect | 0 |
| 4 | 0ms | 444kb | Incorect | 0 |
| 5 | 0ms | 448kb | Incorect | 0 |
| 6 | 0ms | 444kb | Incorect | 0 |
| 7 | 0ms | 444kb | Incorect | 0 |
| 8 | 0ms | 440kb | Incorect | 0 |
| 9 | 0ms | 436kb | Incorect | 0 |
| 10 | 0ms | 440kb | Incorect | 0 |
| 11 | 0ms | 436kb | Incorect | 0 |
| 12 | 0ms | 444kb | Incorect | 0 |
| 13 | 0ms | 484kb | Incorect | 0 |
| 14 | 0ms | 480kb | Incorect | 0 |
| 15 | 0ms | 476kb | Incorect | 0 |
| 16 | 0ms | 480kb | Incorect | 0 |
| 17 | 0ms | 476kb | Incorect | 0 |
| 18 | 0ms | 476kb | Incorect | 0 |
| 19 | 0ms | 484kb | Incorect | 0 |
| 20 | 0ms | 484kb | Incorect | 0 |
| Punctaj total | 0 |