/ XMU_ACM /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int **' [-Wformat=]
         scanf("%d%d",&nums[i][0],&nums[i][1]);
                 ^
/in/foo.c:9:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int **' [-Wformat=]
         scanf("%d%d",&nums[i][0],&nums[i][1]);
                   ^
/in/foo.c:14:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
                 int temp = nums[i][0];
                            ^~~~
/in/foo.c:16:30: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                 nums[i-1][0] = temp;
                              ^
/in/foo.c:17:22: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
                 temp = nums[i][1];
                      ^
/in/foo.c:19:30: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
                 nums[i-1][1] = temp;
                              ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 212.0 KiB

信息

递交者
类型
自测
题目
P1007 刘学习不想当没有感情的粉刷匠
语言
C
递交时间
2020-03-12 18:17:46
评测时间
2020-03-12 18:17:46
评测机
分数
0
总耗时
1ms
峰值内存
212.0 KiB