记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:78:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:79:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1;i<=n;i++) scanf("%d",&a[i]);
                           ~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.875 MiB
#2 Accepted 3ms 1.891 MiB
#3 Accepted 3ms 2.0 MiB
#4 Accepted 3ms 2.0 MiB
#5 Accepted 5ms 2.156 MiB
#6 Accepted 12ms 2.887 MiB
#7 Accepted 28ms 3.832 MiB
#8 Accepted 51ms 5.395 MiB
#9 Accepted 53ms 5.594 MiB
#10 Accepted 59ms 5.773 MiB

信息

递交者
类型
递交
题目
P1015 子序列
语言
C++
递交时间
2021-02-04 12:02:29
评测时间
2021-02-04 12:05:59
评测机
分数
100
总耗时
223ms
峰值内存
5.773 MiB