/ Vijos /

记录详情

Wrong Answer

/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 2ms 468.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Wrong Answer 167ms 488.0 KiB

信息

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