Problem samelength
User DoubleShaurya
Submission Time 2024-02-18 11:27:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

samelength.cpp: In function ‘int main(int, char**)’:
samelength.cpp:22:8: error: redeclaration of ‘FILE* input_file’
22 | FILE* input_file=fopen(argv[1],"r");
| ^~~~~~~~~~
samelength.cpp:13:11: note: ‘FILE* input_file’ previously declared here
13 | FILE* input_file = fopen(argv[1], "r");
| ^~~~~~~~~~
samelength.cpp:23:8: error: redeclaration of ‘FILE* participant_file’
23 | FILE* participant_file=fopen(argv[2],"r");
| ^~~~~~~~~~~~~~~~
samelength.cpp:14:11: note: ‘FILE* participant_file’ previously declared here
14 | FILE* participant_file = fopen(argv[2], "r");
| ^~~~~~~~~~~~~~~~
samelength.cpp:24:8: error: redeclaration of ‘FILE* jury_file’
24 | FILE* jury_file=fopen(argv[3],"r");
| ^~~~~~~~~
samelength.cpp:15:11: note: ‘FILE* jury_file’ previously declared here
15 | FILE* jury_file = fopen(argv[3], "r");
| ^~~~~~