Pagini recente » Borderou de evaluare (job #2414823) | Borderou de evaluare (job #2962227) | Borderou de evaluare (job #595919) | Borderou de evaluare (job #3248984) | Borderou de evaluare (job #2296286)
Borderou de evaluare (job #2296286)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:19: warning: unused variable 'aux' [-Wunused-variable]
unsigned int aux,aux2,S,n,k,i,j,g[100001],c[100001],d,Max=0;
^~~
main.cpp:9:23: warning: unused variable 'aux2' [-Wunused-variable]
unsigned int aux,aux2,S,n,k,i,j,g[100001],c[100001],d,Max=0;
^~~~
main.cpp:9:36: warning: unused variable 'j' [-Wunused-variable]
unsigned int aux,aux2,S,n,k,i,j,g[100001],c[100001],d,Max=0;
^
main.cpp:10:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&k);
^
main.cpp:12:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&g[i],&c[i]);
^
main.cpp:19:29: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(g[i]==Max-1&&c[i]!=d){
~~~~~~~~~~~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 8ms | 262kb | Incorect | 0 |
6 | 11ms | 262kb | Incorect | 0 |
7 | 24ms | 393kb | Incorect | 0 |
8 | 50ms | 786kb | Incorect | 0 |
9 | 51ms | 917kb | Incorect | 0 |
10 | 63ms | 917kb | Incorect | 0 |
Punctaj total | 0 |