/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int cal(int, int)':
foo.cc:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |  for(int i = 0; i < s.size(); i ++ )
      |                 ~~^~~~~~~~~~
foo.cc:19:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   19 |  while(s.size() < size) s += '0';
      |        ~~~~~~~~~^~~~~~
foo.cc:20:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |  for(int i = 0; i < s.size(); i ++ )
      |                 ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 4ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#6 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#7 Wrong Answer User output longer than standard answer. 4ms 384.0 KiB
#8 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#9 Wrong Answer User output longer than standard answer. 3ms 384.0 KiB
#10 Wrong Answer Read 965296431, expect 863098632. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1024 卡布列克圆舞曲
语言
C++
递交时间
2022-01-29 12:08:18
评测时间
2022-01-29 12:08:18
评测机
分数
0
总耗时
34ms
峰值内存
384.0 KiB