/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |     for(i=0;i<n.length();i++){
      |             ~^~~~~~~~~~~
foo.cc:37:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   37 |     }printf("%d",t);
      |              ~^  ~
      |               |  |
      |               |  long long int
      |               int
      |              %lld
foo.cc:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |     scanf("%d",&m);
      |     ~~~~~^~~~~~~~~
foo.cc:13:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |         scanf("%d%d",&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 536.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Wrong Answer Read 1661992960, expect 13168189440000. 2ms 404.0 KiB
#5 Wrong Answer Read 268435456, expect 3427648537559040.... 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1129 产生数
语言
C++
递交时间
2022-03-22 16:51:17
评测时间
2022-03-22 16:51:17
评测机
分数
30
总耗时
17ms
峰值内存
536.0 KiB