/ Vijos /

记录详情

Accepted

foo.cc: In function 'bign& operator++(bign&, int)':
foo.cc:246:12: warning: reference to local variable 't' returned [-Wreturn-local-addr]
  246 |     return t;
      |            ^
foo.cc:244:10: note: declared here
  244 |     bign t=a;
      |          ^
foo.cc: In function 'bign& operator--(bign&, int)':
foo.cc:257:12: warning: reference to local variable 't' returned [-Wreturn-local-addr]
  257 |     return t;
      |            ^
foo.cc:255:10: note: declared here
  255 |     bign t=a;
      |          ^
foo.cc: In function 'int main()':
foo.cc:276:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  276 |     scanf("%d %s",&n,s);
      |     ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 768.0 KiB
#2 Accepted 5ms 896.0 KiB
#3 Accepted 4ms 896.0 KiB
#4 Accepted 3ms 896.0 KiB
#5 Accepted 300ms 1016.0 KiB
#6 Accepted 3ms 896.0 KiB
#7 Accepted 13ms 896.0 KiB
#8 Accepted 13ms 896.0 KiB
#9 Accepted 165ms 1016.0 KiB
#10 Accepted 156ms 1016.0 KiB

信息

递交者
类型
递交
题目
P1472 教主的集合序列
语言
C++
递交时间
2022-06-11 20:57:25
评测时间
2022-06-11 20:57:25
评测机
分数
100
总耗时
673ms
峰值内存
1016.0 KiB