/ Vijos /

记录详情

Wrong Answer

/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 'doIt':
/in/foo.c:47:17: 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:48: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:52:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x+1, y+1, ft, bt, 1);
             ^
/in/foo.c:58:18: 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:59: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:60:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x+1, y-1, ft, bt, 2);
             ^
/in/foo.c:66: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:67: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:68:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x-1,y+1, ft,bt, 3);
             ^
/in/foo.c:74: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:75: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:76:13: warning: variable 'v' set but not used [-Wunused-but-set-variable]
         int v = doIt(x-1,y-1,ft,bt, 4);
             ^
/in/foo.c: In function 'main':
/in/foo.c:117:9: warning: 'return' with no value, in function returning non-void
         return;
         ^~~~~~
/in/foo.c:113:5: note: declared here
 int main()
     ^~~~
/in/foo.c:133:9: warning: unused variable 'total' [-Wunused-variable]
     int total = 0;
         ^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Wrong Answer 2ms 604.0 KiB
#3 Wrong Answer 2ms 604.0 KiB
#4 Wrong Answer 2ms 600.0 KiB
#5 Accepted 2ms 604.0 KiB
#6 Wrong Answer 2ms 604.0 KiB
#7 Wrong Answer 2ms 604.0 KiB
#8 Accepted 2ms 600.0 KiB
#9 Wrong Answer 2ms 604.0 KiB
#10 Accepted 0ms 220.0 KiB
#11 Wrong Answer 0ms 220.0 KiB
#12 Accepted 0ms 216.0 KiB
#13 Wrong Answer 0ms 220.0 KiB
#14 Wrong Answer 0ms 220.0 KiB
#15 Wrong Answer 0ms 220.0 KiB
#16 Wrong Answer 0ms 216.0 KiB
#17 Wrong Answer 0ms 208.0 KiB

信息

递交者
类型
递交
题目
P1015 十字绣
语言
C
递交时间
2019-06-09 02:04:01
评测时间
2019-06-09 02:04:01
评测机
分数
50
总耗时
27ms
峰值内存
604.0 KiB