Record Detail

Wrong Answer

/in/lab5.c: In function 'ReadLine':
/in/lab5.c:9:78: warning: format '%[^
   ' expects argument of type 'char *', but argument 3 has type 'char **' [-Wformat=]
     if(fscanf(file, "%[^\n]\n", line)==1){return 1;}else if(fscanf(file, "%[^\n]\n", &line)==0){return 0;}
                                                                           ~~~^~      ~~~~~
/in/lab5.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 18ms 6.184 MiB

Information

Submit By
Type
Submission
Homework
Lab 5: CASIO-fx991
Language
C
Submit At
2024-11-15 18:15:44
Judged At
2024-11-15 18:15:44
Judged By
Score
0
Total Time
18ms
Peak Memory
6.184 MiB