/ Vijos /

记录详情

Compile Error

/in/foo.cc:11:8: error: stray '#' in program
  tot=0;#include<bits/stdc++.h>
        ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:9: error: 'include' was not declared in this scope
  tot=0;#include<bits/stdc++.h>
         ^~~~~~~
/in/foo.cc:11:17: error: 'bits' was not declared in this scope
  tot=0;#include<bits/stdc++.h>
                 ^~~~
/in/foo.cc:11:22: error: 'stdc' was not declared in this scope
  tot=0;#include<bits/stdc++.h>
                      ^~~~
/in/foo.cc:12:1: error: expected primary-expression before 'using'
 using namespace std;
 ^~~~~
/in/foo.cc:16:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:13:5: warning: unused variable 'n' [-Wunused-variable]
 int n,tot,h[102];
     ^
/in/foo.cc:13:7: warning: unused variable 'tot' [-Wunused-variable]
 int n,tot,h[102];
       ^~~
/in/foo.cc:13:11: warning: unused variable 'h' [-Wunused-variable]
 int n,tot,h[102];
           ^
/in/foo.cc:14:6: warning: unused variable 'f' [-Wunused-variable]
 bool f[100002];
      ^
/in/foo.cc:69:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1068 搭积木
语言
C++
递交时间
2019-06-26 13:30:00
评测时间
2019-06-26 13:30:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes