记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:10:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   printf('1');
          ^~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
/in/foo.c:14:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   printf('2');
          ^~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
/in/foo.c:18:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   printf('3');
          ^~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
/in/foo.c:22:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   printf('4');
          ^~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
/in/foo.c:26:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   printf('5');
          ^~~
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1003 平面坐标系
语言
C
递交时间
2024-08-01 09:49:35
评测时间
2024-08-01 09:49:35
评测机
分数
0
总耗时
1ms
峰值内存
320.0 KiB