Problem card
User wahjsodhowasd
Submission Time 2026-02-11 16:38:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:4:20: error: expected ‘;’ before ‘main’
4 | using namespace std
| ^
| ;
5 | main(){
| ~~~~
card.cpp: In function ‘int main()’:
card.cpp:8:4: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
8 | cin<<m<<k;
| ~~~^~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
card.cpp:8:4: note: candidate: ‘operator<<(int, int)’ <built-in>
8 | cin<<m<<k;
| ~~~^~~
card.cpp:8:4: note: no known conversion for argument 1 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/bits/basic_string.h:48,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
fr