Borderou de evaluare (job #2135432)
Utilizator | Data | 18 februarie 2018 20:35:09 | |
---|---|---|---|
Problema | Dragoni | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:53:5: error: ‘queue’ was not declared in this scope
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:25: error: expected primary-expression before ‘,’ token
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:50: error: expected primary-expression before ‘,’ token
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:52: error: ‘greater’ was not declared in this scope
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:75: error: expected primary-expression before ‘>’ token
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:77: error: expected primary-expression before ‘>’ token
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp:53:79: error: ‘Q’ was not declared in this scope
queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > > Q;
^
user.cpp: In function ‘void citire()’:
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dragoni[i]);
^
user.cpp:26:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &z);
^
user.cpp: In function ‘int main()’:
user.cpp:59:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in", "r", stdin);
^
user.cpp:60:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !