Pagini recente » Borderou de evaluare (job #1562828) | Borderou de evaluare (job #186692) | Borderou de evaluare (job #1498431) | Borderou de evaluare (job #2066185) | Borderou de evaluare (job #1833981)
Borderou de evaluare (job #1833981)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:15:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f, "%d %d", &N, &M);
^
user.c:15:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:23:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d %d",&Q,&P);
^
user.c:23:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:29:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(p, "%d\n", stram);
^
user.c:15:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &N, &M);
^
user.c:19:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[i]);
^
user.c:23:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&Q,&P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |