/ MYOJ /

记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:12:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (s1.length() < s2.length()||s1.length() == s2.length() && s1<s2){
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
foo.cc:20:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (i < s2.length()){
         ~~^~~~~~~~~~~~~
foo.cc:29:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (i < s1.length()){
         ~~^~~~~~~~~~~~~
foo.cc:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0;i < ans.length();i++){
                ~~^~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Memory Exceeded ≥1ms ≥16.0 KiB
#2 Memory Exceeded ≥1ms ≥16.0 KiB
#3 Memory Exceeded ≥1ms ≥16.0 KiB
#4 Memory Exceeded ≥1ms ≥16.0 KiB
#5 Memory Exceeded ≥0ms ≥16.0 KiB
#6 Memory Exceeded ≥0ms ≥16.0 KiB
#7 Memory Exceeded ≥0ms ≥16.0 KiB
#8 Memory Exceeded ≥0ms ≥16.0 KiB
#9 Memory Exceeded ≥0ms ≥16.0 KiB
#10 Memory Exceeded ≥0ms ≥16.0 KiB

信息

递交者
类型
递交
题目
P1021 [7FOJ]高精度减法
语言
C++
递交时间
2021-03-14 12:45:07
评测时间
2021-03-14 12:45:07
评测机
分数
0
总耗时
≥10ms
峰值内存
≥16.0 KiB