Problem | card |
---|---|
User | VictoriaOng |
Submission Time | 2024-06-21 10:18:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:5:11: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
5 | cin.tie[0];
| ^
card.cpp:10:21: error: expected ‘)’ before numeric constant
10 | for(int i=0;i<n;i++0{
| ~ ^
| )
card.cpp:10:22: error: expected ‘;’ before ‘{’ token
10 | for(int i=0;i<n;i++0{
| ^
| ;
card.cpp:13:19: error: invalid use of member function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
13 | for(int i=0; i<s.size; i++){
|