Pagini recente » Borderou de evaluare (job #177122) | Borderou de evaluare (job #545017) | Borderou de evaluare (job #1208866) | Borderou de evaluare (job #2663084) | Borderou de evaluare (job #1305557)
Borderou de evaluare (job #1305557)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1005]’ [-Wformat=]
fscanf(pFile,"%s",&s);
^
user.cpp:10:28: warning: unused variable ‘jmax’ [-Wunused-variable]
int t,tt=0,i=0,gasit=0,jmax=0,n,m,j,man;
^
user.cpp:10:35: warning: unused variable ‘n’ [-Wunused-variable]
int t,tt=0,i=0,gasit=0,jmax=0,n,m,j,man;
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%c",&c);
^
user.cpp:17:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&t);
^
user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%s",&s);
^
user.cpp:28:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK! | 10 |
2 | 0ms | 444kb | OK! | 10 |
3 | 0ms | 448kb | OK! | 10 |
4 | 0ms | 448kb | OK! | 10 |
5 | 0ms | 452kb | OK! | 10 |
6 | 0ms | 452kb | OK! | 10 |
7 | 0ms | 452kb | OK! | 10 |
8 | 0ms | 452kb | OK! | 10 |
9 | 0ms | 448kb | OK! | 10 |
10 | 0ms | 448kb | OK! | 10 |
Punctaj total | 100 |