/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void write()':
/in/foo.cc:25:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d ",len[i]);
                      ^
/in/foo.cc:29:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d ",fa[i]);
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d%d",&n,&m);
                    ^
/in/foo.cc:35:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:41:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d%d%d",&x,&y,&hhz);
                            ^
/in/foo.cc:41:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:41:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:60:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n",len[i]);
                       ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 428.0 KiB
#2 Runtime Error 1ms 424.0 KiB
#3 Runtime Error 2ms 428.0 KiB
#4 Runtime Error 2ms 428.0 KiB
#5 Runtime Error 2ms 488.0 KiB
#6 Runtime Error 1ms 480.0 KiB
#7 Runtime Error 2ms 484.0 KiB
#8 Runtime Error 2ms 480.0 KiB
#9 Runtime Error 2ms 400.0 KiB
#10 Runtime Error 1ms 400.0 KiB

信息

递交者
类型
递交
题目
P1540 月亮之眼
语言
C++
递交时间
2024-05-18 09:07:54
评测时间
2024-05-18 09:07:54
评测机
分数
0
总耗时
20ms
峰值内存
488.0 KiB