Borderou de evaluare (job #1693839)

Utilizator RG1999one shot RG1999 Data 23 aprilie 2016 23:09:46
Problema Cmmdc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.in","r",stdin); ^ user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.out","w",stdout); ^ user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:29:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) {scanf("%d",&v[i]);if(v[i]>max1) max1=v[i];ap[v[i]]++;} ^ user.cpp: In function ‘int caut(int, int, int)’: user.cpp:20:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[poz]==val) ^ user.cpp: In function ‘int main()’: user.cpp:20:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:8:13: note: ‘poz’ was declared here int mij,poz; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms280kbOK5
2136ms1472kbOK5
376ms820kbOK5
44ms284kbOK5
592ms1336kbOK5
68ms340kbOK5
736ms1252kbIncorect0
8192ms708kbOK5
9280ms912kbOK5
10Depăşit3184kbTime limit exceeded.0
11Depăşit3572kbTime limit exceeded.0
12Depăşit3960kbTime limit exceeded.0
13Depăşit4356kbTime limit exceeded.0
14Depăşit4748kbTime limit exceeded.0
15Depăşit5136kbTime limit exceeded.0
16Depăşit5136kbTime limit exceeded.0
17Depăşit5128kbTime limit exceeded.0
18Depăşit5132kbTime limit exceeded.0
19Depăşit5132kbTime limit exceeded.0
204ms280kbOK5
Punctaj total45

Ceva nu functioneaza?