Pagini recente » Borderou de evaluare (job #2008738) | Borderou de evaluare (job #2548138) | Borderou de evaluare (job #1862139) | Borderou de evaluare (job #1457240) | Borderou de evaluare (job #2055152)
Borderou de evaluare (job #2055152)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d ",tot-last);
^
user.cpp:8:17: warning: unused variable ‘nr’ [-Wunused-variable]
long long e,nr,sum,x,n,tot,c,i,p,pc,t;
^
user.cpp:8:20: warning: variable ‘sum’ set but not used [-Wunused-but-set-variable]
long long e,nr,sum,x,n,tot,c,i,p,pc,t;
^
user.cpp:8:41: warning: unused variable ‘t’ [-Wunused-variable]
long long e,nr,sum,x,n,tot,c,i,p,pc,t;
^
user.cpp:11:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld%lld%lld",&n,&x,&c);
^
user.cpp:13:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 4ms | 340kb | Incorect | 0 |
4 | 8ms | 420kb | Incorect | 0 |
5 | 12ms | 500kb | Incorect | 0 |
6 | 28ms | 1040kb | Incorect | 0 |
7 | 28ms | 1044kb | Incorect | 0 |
8 | 32ms | 1036kb | Incorect | 0 |
9 | 32ms | 1036kb | Incorect | 0 |
10 | 32ms | 1044kb | Incorect | 0 |
Punctaj total | 20 |