Record Detail

Runtime Error

/in/main.c: In function 'main':
/in/main.c:6:13: warning: multi-character character constant [-Wmultichar]
     fprintf('%d',c);
             ^~~~
/in/main.c:6:13: warning: passing argument 1 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
In file included from /in/main.c:1:0:
/usr/include/stdio.h:358:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'int'
 extern int fprintf (FILE *__restrict __stream,
            ^~~~~~~
/in/main.c:6:18: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
     fprintf('%d',c);
                  ^
In file included from /in/main.c:1:0:
/usr/include/stdio.h:358:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int fprintf (FILE *__restrict __stream,
            ^~~~~~~
/in/main.c:5:6: warning: 'a' is used uninitialized in this function [-Wuninitialized]
     c=a+b;
     ~^~~~
/in/main.c:5:6: warning: 'b' is used uninitialized in this function [-Wuninitialized]
# Status Time Cost Memory Cost
#1 Runtime Error 1ms 332.0 KiB
#2 Runtime Error 1ms 328.0 KiB
#3 Runtime Error 1ms 276.0 KiB
#4 Runtime Error 1ms 328.0 KiB
#5 Runtime Error 1ms 248.0 KiB
#6 Runtime Error 1ms 324.0 KiB
#7 Runtime Error 1ms 276.0 KiB
#8 Runtime Error 1ms 324.0 KiB
#9 Runtime Error 1ms 324.0 KiB
#10 Runtime Error 1ms 324.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 3
Language
C
Submit At
2018-06-13 11:36:25
Judged At
2018-06-13 11:36:25
Judged By
Score
0
Total Time
10ms
Peak Memory
332.0 KiB