Pagini recente » Borderou de evaluare (job #1154171) | Borderou de evaluare (job #1890692)
Borderou de evaluare (job #1890692)
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 | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 4ms | 324kb | OK | 10 |
5 | 8ms | 532kb | OK | 10 |
6 | 52ms | 5424kb | OK | 10 |
7 | 152ms | 13160kb | OK | 10 |
8 | 144ms | 25880kb | OK | 10 |
9 | 696ms | 26032kb | OK | 10 |
10 | 688ms | 26032kb | OK | 10 |
Punctaj total | 100 |