Pagini recente » Cod sursa (job #1751977) | Borderou de evaluare (job #1002638) | Borderou de evaluare (job #2789928) | Borderou de evaluare (job #2457210) | Borderou de evaluare (job #1890689)
Borderou de evaluare (job #1890689)
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 | 272kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 4ms | 372kb | OK | 10 |
| 5 | 8ms | 784kb | OK | 10 |
| 6 | 60ms | 10424kb | OK | 10 |
| 7 | 164ms | 25656kb | OK | 10 |
| 8 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 48ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 70 |