Borderou de evaluare (job #2697328)
Utilizator | Data | 18 ianuarie 2021 10:54:55 | |
---|---|---|---|
Problema | Cosmar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:19: error: 'vector' was not declared in this scope
static int divide(vector<int> a,vector<int> b, int bit) {
^~~~~~
main.cpp:3:13: error: expected primary-expression before 'long'
#define int long long
^
main.cpp:18:26: note: in expansion of macro 'int'
static int divide(vector<int> a,vector<int> b, int bit) {
^~~
main.cpp:18:33: error: 'vector' was not declared in this scope
static int divide(vector<int> a,vector<int> b, int bit) {
^~~~~~
main.cpp:3:13: error: expected primary-expression before 'long'
#define int long long
^
main.cpp:18:40: note: in expansion of macro 'int'
static int divide(vector<int> a,vector<int> b, int bit) {
^~~
main.cpp:3:13: error: expected primary-expression before 'long'
#define int long long
^
main.cpp:18:48: note: in expansion of macro 'int'
static int divide(vector<int> a,vector<int> b, int bit) {
^~~
main.cpp:18:55: error: expression list treated as compound expression in initializer [-fpermissive]
static int divide(vector<int> a,vector<int> b, int bit) {
^
main.cpp:18:12: warning: 'divide' defined but not used [-Wunused-variable]
static int divide(vector<int> a,vector<int> b, int bit) {
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !