Borderou de evaluare (job #1521132)
Utilizator | Data | 9 noiembrie 2015 22:30:01 | |
---|---|---|---|
Problema | Mate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Read(int&)’:
user.cpp:55:50: error: ‘Next’ was not declared in this scope
for(;sir[pos] < '0' || sir[pos] > '9'; Next ());
^
user.cpp:56:59: error: ‘Next’ was not declared in this scope
for (x = 0; sir[pos] >= '0' && sir[pos] <= '9'; Next ()) x = x * 10 + sir[pos] - '0';
^
user.cpp: In function ‘int main()’:
user.cpp:30:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mate.in", "r", stdin);
^
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mate.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !