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

Compile Error

samelength.cpp: In function ‘int main(int, char**)’:
samelength.cpp:21:33: error: ‘jury_string’ was not declared in this scope
21 | if (fscanf(jury_file, "%s", jury_string) != 1) {
| ^~~~~~~~~~~
samelength.cpp:25:5: error: ‘jury_length’ was not declared in this scope
25 | jury_length = strlen(jury_string);
| ^~~~~~~~~~~
samelength.cpp:25:26: error: ‘jury_string’ was not declared in this scope
25 | jury_length = strlen(jury_string);
| ^~~~~~~~~~~
samelength.cpp:28:40: error: ‘participant_string’ was not declared in this scope; did you mean ‘participant_file’?
28 | if (fscanf(participant_file, "%s", participant_string) != 1) {
| ^~~~~~~~~~~~~~~~~~
| participant_file
samelength.cpp:30:17: error: expected primary-expression before ‘)’ token
30 |