Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type '__int128*' [-Wformat=]
   11 |         scanf("%d",&a,&b); printf("%d",a/b);
      |                ~^  ~~
      |                 |  |
      |                 |  __int128*
      |                 int*
/in/foo.cc:11:15: warning: too many arguments for format [-Wformat-extra-args]
   11 |         scanf("%d",&a,&b); printf("%d",a/b);
      |               ^~~~
/in/foo.cc:11:37: warning: format '%d' expects argument of type 'int', but argument 2 has type '__int128' [-Wformat=]
   11 |         scanf("%d",&a,&b); printf("%d",a/b);
      |                                    ~^  ~~~
      |                                     |   |
      |                                     int __int128
# 状态 耗时 内存占用
#1 Runtime Error 2ms 556.0 KiB
#2 Runtime Error 2ms 552.0 KiB
#3 Runtime Error 2ms 556.0 KiB
#4 Runtime Error 2ms 532.0 KiB
#5 Runtime Error 2ms 536.0 KiB
#6 Runtime Error 2ms 532.0 KiB
#7 Runtime Error 2ms 532.0 KiB
#8 Runtime Error 2ms 532.0 KiB
#9 Runtime Error 2ms 532.0 KiB
#10 Runtime Error 2ms 532.0 KiB
#11 Runtime Error 3ms 532.0 KiB
#12 Runtime Error 2ms 484.0 KiB
#13 Runtime Error 2ms 532.0 KiB
#14 Runtime Error 2ms 480.0 KiB
#15 Runtime Error 2ms 476.0 KiB
#16 Runtime Error 2ms 480.0 KiB
#17 Runtime Error 2ms 472.0 KiB
#18 Runtime Error 2ms 476.0 KiB
#19 Runtime Error 2ms 476.0 KiB
#20 Runtime Error 2ms 484.0 KiB

信息

递交者
类型
递交
题目
P2681 spring
语言
C++
递交时间
2025-10-07 17:15:18
评测时间
2025-10-07 17:15:18
评测机
分数
0
总耗时
52ms
峰值内存
556.0 KiB