Pagini recente » Borderou de evaluare (job #1479361) | Borderou de evaluare (job #2798416) | Borderou de evaluare (job #819414) | Borderou de evaluare (job #1716949) | Borderou de evaluare (job #1582866)
Borderou de evaluare (job #1582866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1010]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&n,&m);
^
user.cpp:20:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&a[i][j]); if(a[i][j]=='.') sum++; else if(a[i][j]=='*') coada[pi].l=i,coada[pi].c=j;
^
user.cpp:21:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
} fscanf(f,"\n");
^
user.cpp:23:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 200kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 204kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |