记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
    8 |   printf("%lld\n",3);
      |           ~~~^    ~
      |              |    |
      |              |    int
      |              long long int
      |           %d
foo.cc:12:14: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'const char*' [-Wformat=]
   12 |   printf("%lld\n","18446744073709551616");
      |           ~~~^    ~~~~~~~~~~~~~~~~~~~~~~
      |              |    |
      |              |    const char*
      |              long long int
      |           %s
foo.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    5 |     scanf("%lld%lld",&a,&b);
      |     ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Wrong Answer Read 94725452623891, expect 18446744073709551616. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1187 汇编你好
语言
C++
递交时间
2022-07-29 18:46:53
评测时间
2022-07-29 18:46:53
评测机
分数
50
总耗时
2ms
峰值内存
256.0 KiB