Borderou de evaluare (job #1794096)
Utilizator | Data | 31 octombrie 2016 21:53:37 | |
---|---|---|---|
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:8:21: error: ‘n’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:8:24: error: ‘k’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:8:27: error: ‘mod’ was not declared in this scope
scanf("%d%d%d",&n,&k,&mod);
^
user.cpp:9:5: error: ‘aux’ was not declared in this scope
aux=mod;
^
user.cpp:13:5: error: expected ‘}’ at end of input
}
^
user.cpp:6: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:7: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 !