Pagini recente » Borderou de evaluare (job #980092) | Borderou de evaluare (job #2873877) | Cod sursa (job #2662673) | Borderou de evaluare (job #2068523) | Borderou de evaluare (job #1984115)
Borderou de evaluare (job #1984115)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1602]’ [-Wformat=]
fscanf(f,"%s",&c);
^
user.cpp:10:43: warning: unused variable ‘m’ [-Wunused-variable]
int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l;
^
user.cpp:10:45: warning: unused variable ‘n’ [-Wunused-variable]
int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l;
^
user.cpp:10:47: warning: unused variable ‘ca’ [-Wunused-variable]
int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l;
^
user.cpp:10:52: warning: unused variable ‘l’ [-Wunused-variable]
int lung,i,j,nr=-1,k,lin=0,col=0,da=0,m,n,ca=0,l;
^
user.cpp:11:10: warning: unused variable ‘aux’ [-Wunused-variable]
char aux;
^
user.cpp:12:10: warning: unused variable ‘v’ [-Wunused-variable]
char v;
^
user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 300kb | OK | 10 |
7 | 0ms | 304kb | OK | 10 |
8 | 0ms | 300kb | OK | 10 |
9 | 0ms | 288kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |