Problem | commonsubstring |
---|---|
User | Kanish |
Submission Time | 2023-11-17 12:01:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
commonsubstring.cpp:36:5: error: ‘inputFile’ does not name a type
36 | inputFile >> str1 >> str2;
| ^~~~~~~~~
commonsubstring.cpp:40:5: error: ‘outputFile’ does not name a type
40 | outputFile << result << endl;
| ^~~~~~~~~~
commonsubstring.cpp:42:5: error: ‘inputFile’ does not name a type
42 | inputFile.close();
| ^~~~~~~~~
commonsubstring.cpp:43:5: error: ‘outputFile’ does not name a type
43 | outputFile.close();
| ^~~~~~~~~~
commonsubstring.cpp:45:5: error: expected unqualified-id before ‘return’
45 | return 0;
| ^~~~~~
commonsubstring.cpp:46:1: error: expected declaration before ‘}’ token
46 | }
| ^