/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0;i <strlen(h1) ;i++) {
                 ~~^~~~~~~~~~~
/in/foo.cc:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0;j < strlen(h2);j++) {
                  ~~^~~~~~~~~~~~
/in/foo.cc:27:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0;i < strlen(h1) + strlen(h2);i++) {
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:34:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (s < strlen(h1) + strlen(h2) - 1) s = strlen(h1) + strlen(h2) - 1;
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 348.0 KiB
#2 Accepted 1ms 348.0 KiB
#3 Accepted 2ms 356.0 KiB
#4 Runtime Error 87ms 476.0 KiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C++
递交时间
2020-09-09 20:28:16
评测时间
2020-09-09 20:28:16
评测机
分数
75
总耗时
94ms
峰值内存
476.0 KiB