Pagini recente » Borderou de evaluare (job #1679304) | Borderou de evaluare (job #245363) | Borderou de evaluare (job #2014627) | Borderou de evaluare (job #718230) | Borderou de evaluare (job #1429915)
Borderou de evaluare (job #1429915)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(in, "%d ", &v[i]);
^
user.c:22:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(in, "%d", &v[j]);
^
user.c:8:19: warning: unused variable ‘x’ [-Wunused-variable]
int n, m, i, j, x, dr, rez = 0;
^
user.c:9:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &n, &m);
^
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d ", &v[i]);
^
user.c:22:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 268kb | Incorect | 0 | 0 |
4 | 0ms | 268kb | Incorect | 0 | 0 |
5 | 204ms | 264kb | Incorect | 0 | 0 |
6 | 200ms | 272kb | Incorect | 0 |
7 | 204ms | 272kb | Incorect | 0 | 0 |
8 | 200ms | 272kb | Incorect | 0 |
9 | 212ms | 264kb | Incorect | 0 | 0 |
10 | 176ms | 272kb | OK | 10 |
Punctaj total | 20 |