记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:9: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:13: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:17: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:21: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:25: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 Wrong Answer 0ms 236.0 KiB

信息

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