/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'inc':
/in/foo.c:38:10: warning: comparison of distinct pointer types lacks a cast
     if(t == mft) conn_ft[A][B] |= flag;
          ^~
/in/foo.c: In function 'getBtFlag':
/in/foo.c:46:15: warning: implicit declaration of function 'calcConnect' [-Wimplicit-function-declaration]
     ftCount = calcConnect(x,y, ft, &ftflag);
               ^~~~~~~~~~~
/in/foo.c: In function 'doIt':
/in/foo.c:80:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x,y,ft, 0b1000);
                 ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:81:22: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x+1,y+1, ft, 0b1);
                      ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:83:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x+1, y+1, ft, bt, 0b1);
             ^
/in/foo.c:92:18: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x,y, ft, 0b100);
                  ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:93:22: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x+1,y-1, ft, 0b10);
                      ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:94:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x+1, y-1, ft, bt, 0b10);
             ^
/in/foo.c:103:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x,y,ft, 0b10);
                 ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:104:21: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x-1,y+1,ft, 0b100);
                     ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:105:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x-1,y+1, ft,bt, 0b100);
             ^
/in/foo.c:114:17: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x,y,ft,0b1);
                 ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:115:21: warning: passing argument 3 of 'inc' from incompatible pointer type [-Wincompatible-pointer-types]
         inc(x-1,y-1,ft,0b1000);
                     ^~
/in/foo.c:31:6: note: expected 'char *' but argument is of type 'char (*)[202]'
 void inc(int A,int B,char* t, int flag) {
      ^~~
/in/foo.c:116:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x-1,y-1,ft,bt, 0b1000);
             ^
/in/foo.c: In function 'main':
/in/foo.c:213:9: warning: 'return' with no value, in function returning non-void
         return;
         ^~~~~~
/in/foo.c:209:5: note: declared here
 int main()
     ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Wrong Answer 7ms 796.0 KiB
#3 Runtime Error 9ms 8.715 MiB
#4 Accepted 9ms 4.941 MiB
#5 Accepted 9ms 4.953 MiB
#6 Accepted 6ms 716.0 KiB
#7 Accepted 7ms 720.0 KiB
#8 Accepted 8ms 2.824 MiB
#9 Wrong Answer 9ms 1.09 MiB
#10 Accepted 0ms 204.0 KiB
#11 Accepted 1ms 208.0 KiB
#12 Accepted 0ms 204.0 KiB
#13 Accepted 0ms 208.0 KiB
#14 Accepted 1ms 204.0 KiB
#15 Accepted 1ms 220.0 KiB
#16 Accepted 1ms 216.0 KiB
#17 Wrong Answer 0ms 208.0 KiB

信息

递交者
类型
递交
题目
P1015 十字绣
语言
C
递交时间
2019-06-15 23:07:21
评测时间
2019-06-15 23:07:21
评测机
分数
130
总耗时
78ms
峰值内存
8.715 MiB