/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
    7 |    printf("%d",(i*b+1)/a);
      |            ~^  ~~~~~~~~~
      |             |         |
      |             int       long long int
      |            %lld
foo.cc:4:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    4 |  scanf("%lld%lld",&a,&b);
      |  ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 7 1ms 256.0 KiB
#2 Wrong Answer 0a1 > 509 1ms 256.0 KiB
#3 Wrong Answer 0a1 > 231 1ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Wrong Answer 0a1 > 26936918 \ No newline at 1ms 256.0 KiB
#6 Wrong Answer 0a1 > 8953562 \ No newline at 0ms 256.0 KiB
#7 Wrong Answer 0a1 > 457723993 1ms 256.0 KiB
#8 Wrong Answer 0a1 > 284385613 1ms 256.0 KiB
#9 Wrong Answer 0a1 > 1227738574 1ms 256.0 KiB
#10 Wrong Answer 0a1 > 88867829 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1781 同余方程
语言
C++
递交时间
2022-01-15 10:14:40
评测时间
2022-01-15 10:14:40
评测机
分数
10
总耗时
10ms
峰值内存
256.0 KiB