Pagini recente » Borderou de evaluare (job #1573062) | Borderou de evaluare (job #1354748) | Cod sursa (job #61301) | Borderou de evaluare (job #1618140) | Borderou de evaluare (job #1572962)
Borderou de evaluare (job #1572962)
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 ‘int **’ [-Wformat=]
fscanf(f,"%d %d %d",&n,&a,&b);
^
user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘int **’ [-Wformat=]
user.c:11:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘int **’ [-Wformat=]
user.c:12:14: warning: comparison between pointer and integer [enabled by default]
for(j=1;j<=b;j++)
^
user.c:14:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int **’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.c:17:26: warning: assignment makes integer from pointer without a cast [enabled by default]
for(i=x;i<=b;i++)
^
user.c:17:30: warning: comparison between pointer and integer [enabled by default]
for(i=x;i<=b;i++)
^
user.c:21:11: warning: assignment makes integer from pointer without a cast [enabled by default]
for(i=a;i<=b;i++)
^
user.c:21:15: warning: comparison between pointer and integer [enabled by default]
for(i=a;i<=b;i++)
^
user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&n,&a,&b);
^
user.c:14:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 276kb | Incorect | 0 |
| 10 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |