/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:14:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
    scanf("%d",puzzle[i][j]);
                           ^
foo.cpp:16:25: error: 'ex' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                         ^~
foo.cpp:16:29: error: 'ey' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                             ^~
foo.cpp:16:33: error: 'sx' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                                 ^~
foo.cpp:16:37: error: 'sy' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                                     ^~
foo.cpp:16:41: error: 'tx' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                                         ^~
foo.cpp:16:45: error: 'ty' was not declared in this scope
   scanf("%d%d%d%d%d%d",&ex,&ey,&sx,&sy,&tx,&ty);
                                             ^~

信息

递交者
类型
自测
题目
P1846 华容道
语言
C++
递交时间
2017-03-08 20:46:33
评测时间
2017-03-08 20:46:33
评测机
分数
0
总耗时
285ms
峰值内存
0 Bytes