Problem collectmushrooms6
User thelusidian
Submission Time 2025-02-03 15:57:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:13:14: error: expected initializer before ‘map’
13 | long string map[r] = {};
| ^~~
collectmushrooms6.cpp:18:19: error: missing template arguments before ‘[’ token
18 | getline(cin, map[i]);
| ^
collectmushrooms6.cpp:21:28: error: ‘n’ was not declared in this scope
21 | for (long long int i=0; i<n; i++){
| ^
collectmushrooms6.cpp:22:10: error: expected primary-expression before ‘;’ token
22 | cin >> ;
| ^
collectmushrooms6.cpp:23:11: error: expected primary-expression before ‘;’ token
23 | cout << ;
| ^