Borderou de evaluare (job #1794097)
Utilizator | Data | 31 octombrie 2016 21:54:08 | |
---|---|---|---|
Problema | Prea Simplu! | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:17:21: error: ‘n’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:17:24: error: ‘k’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:17:27: error: ‘mod’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:18:5: error: ‘aux’ was not declared in this scope
aux=mod;
^
user.cpp:19:5: error: ‘d’ was not declared in this scope
d=2;
^
user.cpp:22:9: error: ‘p’ was not declared in this scope
p=0;
^
user.cpp:30:13: error: ‘nr’ was not declared in this scope
nr++;
^
user.cpp:31:13: error: ‘vect’ was not declared in this scope
vect[nr].factor=d;
^
user.cpp:34:5: error: expected ‘}’ at end of input
}
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.in","r",stdin);
^
user.cpp:16:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !