Borderou de evaluare (job #2123916)
Utilizator | Data | 6 februarie 2018 18:44:55 | |
---|---|---|---|
Problema | Cartite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:27:4: error: ‘NRmax’ was not declared in this scope
}v[NRmax];
^
user.cpp: In function ‘int Push(int, int)’:
user.cpp:40:9: error: ‘v’ was not declared in this scope
v[++nodes].x = a;
^
user.cpp:49:16: error: ‘v’ was not declared in this scope
if(v[i].x == a && v[i].y == b)
^
user.cpp:53:9: error: ‘v’ was not declared in this scope
v[++nodes].x = a;
^
user.cpp: In function ‘void Solve2()’:
user.cpp:206:27: error: ‘v’ was not declared in this scope
printf("%d %d\n", v[nod].x, v[nod].y);
^
user.cpp: In function ‘void Read()’:
user.cpp:61: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:62:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &xc, &yc);
^
user.cpp:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:68:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &r);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &G);
^
user.cpp:99:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &c, &d);
^
user.cpp: In function ‘int main()’:
user.cpp:212:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartite.in", "r", stdin);
^
user.cpp:213:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartite.out", "w", stdout);
^
user.cpp:216:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !