记录详情

Wrong Answer

/in/foo.cc:32:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(linker, "/STACK:1024000000,1024000000")  
 
/in/foo.cc: In constructor 'Node::Node(int, int, int, int)':
/in/foo.cc:35:15: warning: 'Node::y1' will be initialized after [-Wreorder]
     int x1,x2,y1,y2;
               ^~
/in/foo.cc:35:12: warning:   'int Node::x2' [-Wreorder]
     int x1,x2,y1,y2;
            ^~
/in/foo.cc:37:5: warning:   when initialized here [-Wreorder]
     Node(int _x1,int _y1,int _x2,int _y2):x1(_x1),y1(_y1),x2(_x2),y2(_y2){}
     ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5]' [-Wformat=]
         scanf("%s%d",&str,&val);
                               ^
/in/foo.cc:89:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(v.first>=0&&v.first<x.size()&&v.second>=0&&v.second<y.size()&&vis[v.first][v.second]==0){
                            ~~~~~~~^~~~~~~~~
/in/foo.cc:89:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(v.first>=0&&v.first<x.size()&&v.second>=0&&v.second<y.size()&&vis[v.first][v.second]==0){
                                                           ~~~~~~~~^~~~~~~~~
/in/foo.cc:96:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<x.size()-1;i++)
                 ~^~~~~~~~~~~
/in/foo.cc:97:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0;j<y.size()-1;j++)
                     ~^~~~~~~~~~~
/in/foo.cc:100:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%I64d\n",ans);
                         ^
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Wrong Answer 1ms 212.0 KiB
#5 Accepted 3ms 328.0 KiB
#6 Wrong Answer 17ms 7.688 MiB
#7 Wrong Answer 16ms 7.258 MiB
#8 Wrong Answer 19ms 7.555 MiB
#9 Wrong Answer 21ms 7.555 MiB
#10 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
甲虫入侵 beetle
语言
C++
递交时间
2019-10-25 16:11:00
评测时间
2019-10-25 16:11:00
评测机
分数
50
总耗时
85ms
峰值内存
7.688 MiB