Pagini recente » Borderou de evaluare (job #2026083) | Borderou de evaluare (job #742121) | Sushi | Borderou de evaluare (job #1554426) | Borderou de evaluare (job #1890693)
Borderou de evaluare (job #1890693)
Raport evaluator
Compilare:
user.c: In function ‘read’:
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f, "%d%d%d", &n, &m, &q);
^
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘long int *’ [-Wformat=]
user.c:17:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f, "%d%d", &x, &y);
^
user.c:17:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c: In function ‘write’:
user.c:46:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f, "%d ", d[i]);
^
user.c: In function ‘read’:
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d", &n, &m, &q);
^
user.c:17:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 4ms | 304kb | Incorect | 0 |
| 5 | 8ms | 404kb | Incorect | 0 |
| 6 | 52ms | 2920kb | OK | 10 |
| 7 | 140ms | 6908kb | OK | 10 |
| 8 | 140ms | 13372kb | OK | 10 |
| 9 | 688ms | 13540kb | OK | 10 |
| 10 | 692ms | 13536kb | OK | 10 |
| Punctaj total | 80 |