| Problem | area2 |
|---|---|
| User | Soysauce |
| Submission Time | 2026-02-22 09:09:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
area2.cpp: In function ‘int main()’:
area2.cpp:12:14: error: expected identifier before numeric constant
12 | cout<<v[0]*[1];}
| ^
area2.cpp: In lambda function:
area2.cpp:12:16: error: expected ‘{’ before ‘;’ token
12 | cout<<v[0]*[1];}
| ^
area2.cpp: In function ‘int main()’:
area2.cpp:12:12: error: no match for ‘operator*’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’} and ‘main()::<lambda()>’)
12 | cout<<v[0]*[1];}
In file included from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from area2.cpp:1:
/usr/include/c++/9/complex:391:5: note: candidate: ‘template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’
391 | opera