Borderou de evaluare (job #1491368)
Utilizator | Data | 25 septembrie 2015 09:58:17 | |
---|---|---|---|
Problema | Sum2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void sume()’:
user.cpp:9:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp: In function ‘void dr()’:
user.cpp:15:18: error: ‘i’ was not declared in this scope
if(v[dq[top]]>v[i])
^
user.cpp: In function ‘void st()’:
user.cpp:26:15: error: ‘i’ was not declared in this scope
if(dq[bot] == i-u)
^
user.cpp: In function ‘int main()’:
user.cpp:45:20: error: ‘min’ was not declared in this scope
if(min<v[dq[bot]])
^
user.cpp:48:25: error: ‘mini’ was not declared in this scope
mini=dq[bot];
^
user.cpp:53:13: error: expected ‘}’ at end of input
return 0;
^
user.cpp:34:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&n,&l,&u);
^
user.cpp:36:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !