/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&N); len=0;
                 ^
/in/foo.cc:13:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    int L; scanf("%d%d",&pr[i].first,&L); pr[i].second=pr[i].first+L-1;
                                        ^
# 状态 耗时 内存占用
#1 Accepted 5ms 2.25 MiB
#2 Accepted 6ms 2.25 MiB
#3 Accepted 7ms 2.25 MiB
#4 Accepted 186ms 2.25 MiB
#5 Accepted 265ms 2.25 MiB
#6 Accepted 251ms 2.375 MiB
#7 Accepted 182ms 2.352 MiB
#8 Accepted 223ms 2.324 MiB
#9 Accepted 209ms 2.375 MiB
#10 Accepted 245ms 2.328 MiB

信息

递交者
类型
递交
题目
P1818 NOI嘉年华
语言
C++
递交时间
2017-03-28 10:14:58
评测时间
2017-03-28 10:14:58
评测机
分数
100
总耗时
1583ms
峰值内存
2.375 MiB