Borderou de evaluare (job #1475535)
Utilizator | Data | 24 august 2015 10:48:57 | |
---|---|---|---|
Problema | Vagoane | Status | done |
Runda | Junior Challenge 2015 Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:41: error: ‘x’ was not declared in this scope
freopen("valuare.out", "w", stdout);x
^
user.cpp:23:5: error: expected ‘;’ before ‘long’
long long b,x=0;
^
user.cpp:25:21: error: ‘b’ was not declared in this scope
scanf("%lld%d",&b,&mod);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valuare.in", "r", stdin);
^
user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valuare.out", "w", stdout);x
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !