/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:16: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     int t=(1<<n+1)-1;
               ~^~
/in/foo.cc:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<point2.size(); i++) {
                  ~^~~~~~~~~~~~~~
/in/foo.cc:45:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=i+1; j<point2.size(); j++) {
                        ~^~~~~~~~~~~~~~
/in/foo.cc:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=1; i<point2.size(); i++) {
                  ~^~~~~~~~~~~~~~
/in/foo.cc:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=1; i<point2.size(); i++) {
                  ~^~~~~~~~~~~~~~
/in/foo.cc:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0; j<a[x].size(); j++) {
                      ~^~~~~~~~~~~~
/in/foo.cc:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0; j<point2.size(); j++) {
                      ~^~~~~~~~~~~~~~
/in/foo.cc:42:9: warning: unused variable 's' [-Wunused-variable]
     int s=0;
         ^
# 状态 耗时 内存占用
#1 Accepted 5ms 348.0 KiB
#2 Accepted 4ms 340.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 3ms 368.0 KiB
#6 Accepted 5ms 512.0 KiB
#7 Accepted 3ms 336.0 KiB
#8 Accepted 27ms 512.0 KiB
#9 Accepted 22ms 476.0 KiB
#10 Accepted 86ms 480.0 KiB

信息

递交者
类型
递交
题目
P1578 渡河
语言
C++
递交时间
2018-05-12 09:48:09
评测时间
2018-05-12 09:48:09
评测机
分数
100
总耗时
168ms
峰值内存
512.0 KiB