记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:14:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   14 |         for(a=0;a<=x.size();a=a+1)
      |                 ~^~~~~~~~~~
foo.cc:6:13: warning: unused variable ‘y’ [-Wunused-variable]
    6 |         int y[50];
      |             ^
foo.cc:8:15: warning: unused variable ‘b’ [-Wunused-variable]
    8 |         int a,b,c,d,e,f,g=0;
      |               ^
foo.cc:8:17: warning: unused variable ‘c’ [-Wunused-variable]
    8 |         int a,b,c,d,e,f,g=0;
      |                 ^
foo.cc:8:19: warning: unused variable ‘d’ [-Wunused-variable]
    8 |         int a,b,c,d,e,f,g=0;
      |                   ^
foo.cc:8:21: warning: unused variable ‘e’ [-Wunused-variable]
    8 |         int a,b,c,d,e,f,g=0;
      |                     ^
foo.cc:8:23: warning: unused variable ‘f’ [-Wunused-variable]
    8 |         int a,b,c,d,e,f,g=0;
      |                       ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 576.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 764.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1016 部队军列
语言
C++
递交时间
2024-10-04 14:51:10
评测时间
2024-10-04 14:51:10
评测机
分数
40
总耗时
15ms
峰值内存
764.0 KiB