Pagini recente » Borderou de evaluare (job #3041777) | Borderou de evaluare (job #1513489) | Borderou de evaluare (job #380498) | Borderou de evaluare (job #2432251) | Borderou de evaluare (job #1693839)
Borderou de evaluare (job #1693839)
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 |
| 1 | 4ms | 280kb | OK | 5 |
| 2 | 136ms | 1472kb | OK | 5 |
| 3 | 76ms | 820kb | OK | 5 |
| 4 | 4ms | 284kb | OK | 5 |
| 5 | 92ms | 1336kb | OK | 5 |
| 6 | 8ms | 340kb | OK | 5 |
| 7 | 36ms | 1252kb | Incorect | 0 |
| 8 | 192ms | 708kb | OK | 5 |
| 9 | 280ms | 912kb | OK | 5 |
| 10 | Depăşit | 3184kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 3572kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 3960kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 4356kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 4748kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 5136kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 5136kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 5128kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 5132kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 5132kb | Time limit exceeded. | 0 |
| 20 | 4ms | 280kb | OK | 5 |
| Punctaj total | 45 |