记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1101 婚礼上的小杉
语言
C++
递交时间
2021-01-17 13:40:28
评测时间
2021-01-17 13:40:28
评测机
分数
100
总耗时
21ms
峰值内存
1.598 MiB