Borderou de evaluare (job #1269669)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:21:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d %d",&x,&y);
^
user.c:21:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:48:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d %d",k,n);
^
user.c:48:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.c:18:20: warning: unused variable ‘m’ [-Wunused-variable]
long int n,i,j,m;
^
user.c:18:16: warning: unused variable ‘i’ [-Wunused-variable]
long int n,i,j,m;
^
user.c:21:11: 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 | 184kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 2 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 3 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 4 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 5 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 6 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 7 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 10 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |