Borderou de evaluare (job #2205206)
Utilizator | Data | 18 mai 2018 11:26:43 | |
---|---|---|---|
Problema | Restrictii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: ‘vector’ does not name a type
vector<pair<int, int> >G[50005];
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:19:5: error: ‘G’ was not declared in this scope
G[y].push_back({-x, z});
^
user.cpp:23:9: error: ‘G’ was not declared in this scope
if (G[i].size() != 0) {
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restrictii.in", "r", stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restrictii.out", "w", stdout);
^
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &val);
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !