/ XmX /

记录详情

Compile Error

/in/foo.cc:1:2: error: stray '#' in program
 v#include <bits/stdc++.h>
  ^
/in/foo.cc:1:1: error: 'v' does not name a type
 v#include <bits/stdc++.h>
 ^
/in/foo.cc: In function 'void GetPrime(int)':
/in/foo.cc:10:36: error: 'memset' was not declared in this scope
  memset(isPrime, 1, sizeof(isPrime));
                                    ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:28: error: 'memset' was not declared in this scope
     memset(f,0x3f,sizeof(f));
                            ^
/in/foo.cc:30:5: error: 'cin' was not declared in this scope
     cin>>n>>a>>b;
     ^~~
/in/foo.cc:37:38: error: 'min' was not declared in this scope
             f[i][i-v]=min(f[i][i-v],1);
                                      ^
/in/foo.cc:39:38: error: 'min' was not declared in this scope
             f[i][i+v]=min(f[i][i+v],1);
                                      ^
/in/foo.cc:44:52: error: 'min' was not declared in this scope
                 f[i][j]=min(f[i][j],f[i][k]+f[k][j]);//DP 求 Floyd
                                                    ^
/in/foo.cc:45:5: error: 'cout' was not declared in this scope
     cout<<(f[a][b]==0x3f3f3f3f?-1:f[a][b]);
     ^~~~

信息

递交者
类型
递交
题目
P1026 奇怪的电梯
语言
C++
递交时间
2025-01-02 16:43:57
评测时间
2025-01-02 16:43:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes