Pagini recente » Borderou de evaluare (job #976506) | Borderou de evaluare (job #2284157) | Borderou de evaluare (job #1350233) | Borderou de evaluare (job #2982557) | 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 |