Borderou de evaluare (job #2225926)
Utilizator | Data | 28 iulie 2018 17:38:48 | |
---|---|---|---|
Problema | Parantezare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:5: error: ‘stack’ was not declared in this scope
stack <int> stiva;
^~~~~
user.cpp:14:12: error: expected primary-expression before ‘int’
stack <int> stiva;
^~~
user.cpp:19:17: error: ‘stiva’ was not declared in this scope
v [ stiva.top() ] = i;
^~~~~
user.cpp:23:9: error: ‘stiva’ was not declared in this scope
stiva.push(i);
^~~~~
user.cpp:11:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "parantezare.in" , "r" , stdin );
^
user.cpp:12:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "parantezare.out" , "w" , stdout );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !