Problem samelength
User Um
Submission Time 2024-02-03 12:53:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

samelength.cpp:1:1: error: ‘include’ does not name a type
1 | include <cstdio>
| ^~~~~~~
samelength.cpp: In function ‘int main(int, char**)’:
samelength.cpp:9:2: error: ‘FILE’ was not declared in this scope
9 | FILE* input_file=fopen(argv[1],"r");
| ^~~~
samelength.cpp:3:1: note: ‘FILE’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
2 | #include <cstring>
+++ |+#include <cstdio>
3 |
samelength.cpp:9:8: error: ‘input_file’ was not declared in this scope
9 | FILE* input_file=fopen(argv[1],"r");
| ^~~~~~~~~~
samelength.cpp:9:19: error: ‘fopen’ was not declared in this scope
9 | FILE* input_file=fopen(argv[1],"r");
| ^~~~~
samelength.cpp:9:19: note: ‘fopen’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
samelength.cpp:10:8: error: ‘participant_file’ was not declared i