/ Vijos /

记录详情

Compile Error

/in/foo.cc:6:12: error: stray '#' in program
  cin>>n>>m;#include <bits/stdc++.h>
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:13: error: 'include' was not declared in this scope
  cin>>n>>m;#include <bits/stdc++.h>
             ^~~~~~~
/in/foo.cc:6:22: error: 'bits' was not declared in this scope
  cin>>n>>m;#include <bits/stdc++.h>
                      ^~~~
/in/foo.cc:6:27: error: 'stdc' was not declared in this scope
  cin>>n>>m;#include <bits/stdc++.h>
                           ^~~~
/in/foo.cc:7:1: error: expected primary-expression before 'using'
 using namespace std;
 ^~~~~
/in/foo.cc:10:11: error: a function-definition is not allowed here before '{' token
 int main(){
           ^
/in/foo.cc:8:5: warning: unused variable 'n' [-Wunused-variable]
 int n,m,ans;
     ^
/in/foo.cc:8:7: warning: unused variable 'm' [-Wunused-variable]
 int n,m,ans;
       ^
/in/foo.cc:8:9: warning: unused variable 'ans' [-Wunused-variable]
 int n,m,ans;
         ^~~
/in/foo.cc:9:5: warning: unused variable 'a' [-Wunused-variable]
 int a[1005][1005],f[1005][1005];
     ^
/in/foo.cc:9:19: warning: unused variable 'f' [-Wunused-variable]
 int a[1005][1005],f[1005][1005];
                   ^
/in/foo.cc:55:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1255 月饼盒
语言
C++
递交时间
2024-09-30 19:05:14
评测时间
2024-09-30 19:05:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes