Borderou de evaluare (job #2017387)
Utilizator | Data | 1 septembrie 2017 00:38:59 | |
---|---|---|---|
Problema | Critice | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In static member function ‘static int Edge::other(int)’:
user.cpp:14:7: error: invalid use of member ‘Edge::a’ in static member function
int a, b;
^
user.cpp:16:12: error: from this location
return a ^ b ^ nod;
^
user.cpp:14:10: error: invalid use of member ‘Edge::b’ in static member function
int a, b;
^
user.cpp:16:16: error: from this location
return a ^ b ^ nod;
^
user.cpp:17:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:81:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:83:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &a, &b, &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !