/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool rec(int, int)':
/in/foo.cc:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:44:41: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1010]' [-Wformat=]
     for(int i=0;i<n;i++)scanf("%s",&a[i]);
                                         ^
/in/foo.cc:47:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
             if(a[i][j]=='#'&&vis[i][j]==0)
               ^
# 状态 耗时 内存占用
#1 Accepted 2ms 640.0 KiB
#2 Accepted 3ms 640.0 KiB
#3 Accepted 2ms 632.0 KiB
#4 Accepted 2ms 520.0 KiB
#5 Accepted 2ms 620.0 KiB
#6 Accepted 2ms 1.434 MiB
#7 Accepted 2ms 780.0 KiB
#8 Accepted 2ms 628.0 KiB
#9 Accepted 2ms 792.0 KiB
#10 Accepted 6ms 1.777 MiB

信息

递交者
类型
递交
题目
P1076 海战
语言
C++
递交时间
2024-07-26 16:01:15
评测时间
2024-07-26 16:01:15
评测机
分数
100
总耗时
28ms
峰值内存
1.777 MiB