Borderou de evaluare (job #1626457)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&t);
^
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&t);
^
user.cpp:13:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&v[i]),s+=v[i],c[i]=s;
^
user.cpp:20:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld%lld",&st,&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 472kb | Incorect | 0 |
3 | 4ms | 464kb | Incorect | 0 |
4 | 12ms | 472kb | Incorect | 0 |
5 | 12ms | 468kb | Incorect | 0 |
6 | 12ms | 492kb | Incorect | 0 |
7 | 12ms | 612kb | Incorect | 0 |
8 | 16ms | 708kb | Incorect | 0 |
9 | 16ms | 756kb | Incorect | 0 |
10 | 16ms | 792kb | Incorect | 0 |
Punctaj total | 0 |