Problem splithunny
User Schzeey
Submission Time 2023-02-20 17:28:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp:3:1: error: ‘usong’ does not name a type; did you mean ‘ulong’?
3 | usong namespace std;
| ^~~~~
| ulong
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:7:15: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
7 | int r, c; cin >>r >>c;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from splithunny.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
splithunny.cpp:13:5: error: expected ‘,’ or ‘;’ before ‘for’
13 | for (int i = 0; i<r;++i){
| ^~~
splithunny.cpp:13:21: error: ‘i’ was not declared in this scope
13 | for (int i = 0; i<r;++i){
| ^