Record Detail

Wrong Answer

/in/database.c: In function 'AUTO':
/in/database.c:349:20: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
             fscanf("%s%s",tablename,filename);
                    ^~~~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /in/database.c:2:
/usr/include/stdio.h:395:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
 extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
            ^
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 1ms 384.0 KiB
#2 Wrong Answer Detail 1ms 384.0 KiB
#3 Wrong Answer Detail 1ms 268.0 KiB
#4 Wrong Answer Detail 1ms 328.0 KiB
#5 Wrong Answer Detail 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-16 17:43:59
Judged At
2021-11-21 15:06:40
Judged By
Score
0
Total Time
6ms
Peak Memory
384.0 KiB