Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:9: warning: unused variable 'a' [-Wunused-variable]
    6 |  int  n,a,m;
      |         ^
foo.cc:8:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 | scanf("%d",&n);
      | ~~~~~^~~~~~~~~
foo.cc:18:4: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
   18 | m=m*10+n%10;
      |   ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 374998021, expect 27653. 2ms 384.0 KiB
#2 Wrong Answer Read -1262222451, expect 5005. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1034 任意整数的逆序数
语言
C++
递交时间
2022-07-09 20:48:30
评测时间
2022-07-09 20:48:30
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB