记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
         scanf("%s",a[b[j]]);
                           ^
/in/foo.cc:15:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
         printf("%s\n",a[j]);
                           ^
/in/foo.cc:6:15: warning: unused variable 'k' [-Wunused-variable]
     int i=0,j,k;
               ^
# 状态 耗时 内存占用
#1 Accepted 2ms 1.586 MiB
#2 Accepted 2ms 1.543 MiB
#3 Accepted 2ms 1.598 MiB
#4 Accepted 2ms 1.598 MiB
#5 Accepted 2ms 1.594 MiB
#6 Accepted 2ms 1.594 MiB
#7 Accepted 2ms 1.598 MiB
#8 Accepted 2ms 1.598 MiB
#9 Accepted 2ms 1.594 MiB
#10 Accepted 2ms 1.594 MiB

信息

递交者
类型
递交
题目
P1101 婚礼上的小杉
语言
C++
递交时间
2021-02-15 14:07:09
评测时间
2021-02-15 14:07:09
评测机
分数
100
总耗时
23ms
峰值内存
1.598 MiB