Problem | choochoo |
---|---|
User | ILBBBM |
Submission Time | 2023-02-27 17:39:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
choochoo.cpp: In function ‘int main()’:
choochoo.cpp:7:10: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++){
| ^
choochoo.cpp:8:21: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>’ and ‘const char [3]’)
8 | cin >> bruh >> "/n"
| ~~~~~~~~~~~ ^~ ~~~~
| | |
| | const char [3]
| std::basic_istream<char>
In file included from /usr/include/c++/9/iostream:40,
from choochoo.cpp:1:
/usr/include/c++/9/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]’ <near match>
168 |