Pagini recente » Simulare 30 | Borderou de evaluare (job #1511125) | Cod sursa (job #1556) | Cod sursa (job #1150035) | Borderou de evaluare (job #1459021)
Borderou de evaluare (job #1459021)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:10:2: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type [enabled by default]
sprintf(fi,"%d\n%d", &a,&b);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:32:1: note: expected ‘char * restrict’ but argument is of type ‘struct FILE *’
__NTH (sprintf (char *__restrict __s, __const char *__restrict __fmt, ...))
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat=]
sprintf(fi,"%d\n%d", &a,&b);
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int *’ [-Wformat=]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 7 | 0ms | 220kb | 4544 != 0 | 0 | 0 |
| 8 | 0ms | 216kb | 14113 != 0 | 0 |
| 9 | 0ms | 220kb | 362 != 0 | 0 |
| 10 | 0ms | 216kb | 7646 != 0 | 0 |
| 1 | 0ms | 220kb | 3 != 0 | 0 | 0 |
| 2 | 0ms | 224kb | 6 != 0 | 0 |
| 3 | 0ms | 216kb | 14 != 0 | 0 |
| 4 | 0ms | 224kb | 444 != 0 | 0 | 0 |
| 5 | 0ms | 220kb | 1956 != 0 | 0 |
| 6 | 0ms | 224kb | 2000 != 0 | 0 |
| Punctaj total | 0 |