/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'std::__cxx11::string sub(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:31:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(!na[--lmax]&&lmax>0)  ;lmax++;
     ^~~~~
/in/foo.cc:31:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     while(!na[--lmax]&&lmax>0)  ;lmax++;
                                  ^~~~
/in/foo.cc: In function 'std::__cxx11::string div(std::__cxx11::string, int)':
/in/foo.cc:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();i++)
                 ~^~~~~~~~~
/in/foo.cc:59:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<r.size();i++)
                 ~^~~~~~~~~
/in/foo.cc: In function 'int mod(std::__cxx11::string, int)':
/in/foo.cc:66:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<a.size();i++) d=(d*10+(a[i]-'0'))%b;//求出余数
                 ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer 1ms 256.0 KiB
#3 Wrong Answer 3ms 372.0 KiB
#4 Runtime Error 6ms 332.0 KiB
#5 Runtime Error 6ms 356.0 KiB
#6 Runtime Error 5ms 256.0 KiB
#7 Runtime Error 6ms 256.0 KiB
#8 Runtime Error 2ms 256.0 KiB
#9 Runtime Error 5ms 380.0 KiB
#10 Runtime Error 3ms 376.0 KiB

信息

递交者
类型
递交
题目
P1670 三角计数
语言
C++
递交时间
2017-07-05 15:08:26
评测时间
2017-07-05 15:08:26
评测机
分数
10
总耗时
42ms
峰值内存
380.0 KiB