Record Detail

Runtime Error

/in/database.c: In function 'SELECT':
/in/database.c:240:11: warning: unused variable 'limit' [-Wunused-variable]
     char *limit =strtok (NULL," ()");
           ^~~~~
/in/database.c:238:11: warning: unused variable 'sort' [-Wunused-variable]
     char *sort =strtok (NULL," ()");
           ^~~~
In file included from /usr/include/stdio.h:862:0,
                 from /in/database.c:1:
In function 'fgets',
    inlined from 'Readtable' at /in/database.c:24:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:260:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
  return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Runtime Error (-11) Detail 1ms 364.0 KiB
#2 Runtime Error (-11) Detail 1ms 364.0 KiB
#3 Runtime Error (-11) Detail 1ms 376.0 KiB
#4 Runtime Error (-11) Detail 1ms 384.0 KiB
#5 Runtime Error (-11) Detail 1ms 372.0 KiB

Information

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