Borderou de evaluare (job #759344)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Diametru (clasele 11-12) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 ian. 2024 20:59:24 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:53:16: error: invalid use of member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; size_type = unsigned int]' (did you forget the '()' ?)
53 | if(G[tata].size==1)
| ()
main.cpp:101:24: warning: pointer to a function used in arithmetic [-Wpointer-arith]
101 | Find2[i];
| ^
main.cpp:101:24: warning: value computed is not used [-Wunused-value]
101 | Find2[i];
| ~~~~~~~^
main.cpp:101:24: warning: statement has no effect [-Wunused-value]