Problem firstabc
User Daddy
Submission Time 2023-12-06 09:27:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firstabc.cpp: In function ‘int main()’:
firstabc.cpp:7:14: error: expected ‘;’ before ‘char’
7 | cin.ignore()
| ^
| ;
8 | char s[n];
| ~~~~
firstabc.cpp:9:17: error: ‘s’ was not declared in this scope
9 | cin.getline(s, n);
| ^