Borderou de evaluare (job #1282636)
Utilizator | Data | 4 decembrie 2014 16:30:45 | |
---|---|---|---|
Problema | Perechi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:10: error: ‘MAX’ was not declared in this scope
int ciur[MAX+1];
^
user.cpp:8:7: error: ‘MAX’ was not declared in this scope
int v[MAX+1];
^
user.cpp: In function ‘void ch()’:
user.cpp:13:5: error: ‘v’ was not declared in this scope
v[1]=2;
^
user.cpp:15:16: error: ‘MAX’ was not declared in this scope
for(i=3;i<=MAX;i+=2)
^
user.cpp:16:13: error: ‘ciur’ was not declared in this scope
if (ciur[i]==0){
^
user.cpp: In function ‘int main()’:
user.cpp:37:14: error: ‘v’ was not declared in this scope
while(cn>v[i]){
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi.in","r",stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !