F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39066181_31206.cpp:308:18: error: stray '#' in program
  308 |                 }#include<iostream>
      |                  ^
0_0_39066181_31206.cpp:117:19: error: redefinition of 'const int yjf::N'
  117 |         const int N=60;
      |                   ^
0_0_39066181_31206.cpp:10:19: note: 'const int yjf::N' previously defined here
   10 |         const int N=60;
      |                   ^
0_0_39066181_31206.cpp:118:19: error: redefinition of 'const int yjf::M'
  118 |         const int M=88;
      |                   ^
0_0_39066181_31206.cpp:11:19: note: 'const int yjf::M' previously defined here
   11 |         const int M=88;
      |                   ^
0_0_39066181_31206.cpp:119:19: error: redefinition of 'const int yjf::K'
  119 |         const int K=20;
      |                   ^
0_0_39066181_31206.cpp:12:19: note: 'const int yjf::K' previously defined here
   12 |         const int K=20;
      |                   ^
0_0_39066181_31206.cpp:120:13: error: redefinition of 'int yjf::a [60]'
  120 |         int a[N];
      |             ^
0_0_39066181_31206.cpp:13:13: note: 'int yjf::a [60]' previously declared here
   13 |         int a[N];
      |             ^
0_0_39066181_31206.cpp:121:13: error: redefinition of 'int yjf::n'
  121 |         int n;
      |             ^
0_0_39066181_31206.cpp:14:13: note: 'int yjf::n' previously declared here
   14 |         int n;
      |             ^
0_0_39066181_31206.cpp:122:24: error: redefinition of 'std::bitset<88> yjf::f [20]'
  122 |         std::bitset<M> f[K];
      |                        ^
0_0_39066181_31206.cpp:15:24: note: 'std::bitset<88> yjf::f [20]' previously defined here
   15 |         std::bitset<M> f[K];
      |                        ^
0_0_39066181_31206.cpp:123:13: error: redefinition of 'int yjf::ans [60][60][60]'
  123 |         int ans[N][N][N];
      |             ^~~
0_0_39066181_31206.cpp:16:13: note: 'int yjf::ans [60][60][60]' previously declared here
   16 |         int ans[N][N][N];
      |             ^~~
0_0_39066181_31206.cpp:124:20: error: redefinition of 'int yjf::read()'
  124 |         inline int read(){
      |                    ^~~~
0_0_39066181_31206.cpp:17:20: note: 'int yjf::read()' previously defined here
   17 |         inline int read(){
      |                    ^~~~
0_0_39066181_31206.cpp:138:21: error: redefinition of 'void yjf::write(int)'
  138 |         inline void write(int x){
      |                     ^~~~~
0_0_39066181_31206.cpp:31:21: note: 'void yjf::write(int)' previously defined here
   31 |         inline void write(int x){
      |                     ^~~~~
0_0_39066181_31206.cpp:147:21: error: redefinition of 'void yjf::work(int, int, int)'
  147 |         inline void work(int x,int y,int z){
      |                     ^~~~
0_0_39066181_31206.cpp:40:21: note: 'void yjf::work(int, int, int)' previously defined here
   40 |         inline void work(int x,int y,int z){
      |                     ^~~~
0_0_39066181_31206.cpp:164:13: error: redefinition of 'int yjf::main()'
  164 |         int main(){
      |             ^~~~
0_0_39066181_31206.cpp:57:13: note: 'int yjf::main()' previously defined here
   57 |         int main(){
      |             ^~~~
0_0_39066181_31206.cpp:206:8: error: redefinition of 'int main()'
  206 | signed main(){
      |        ^~~~
0_0_39066181_31206.cpp:99:8: note: 'int main()' previously defined here
   99 | signed main(){
      |        ^~~~
0_0_39066181_31206.cpp:224:19: error: redefinition of 'const int yjf::N'
  224 |         const int N=60;
      |                   ^
0_0_39066181_31206.cpp:10:19: note: 'const int yjf::N' previously defined here
   10 |         const int N=60;
      |                   ^
0_0_39066181_31206.cpp:225:19: error: redefinition of 'const int yjf::M'
  225 |         const int M=88;
      |                   ^
0_0_39066181_31206.cpp:11:19: note: 'const int yjf::M' previously defined here
   11 |         const int M=88;
      |                   ^
0_0_39066181_31206.cpp:226:19: error: redefinition of 'const int yjf::K'
  226 |         const int K=20;
      |                   ^
0_0_39066181_31206.cpp:12:19: note: 'const int yjf::K' previously defined here
   12 |         const int K=20;
      |                   ^
0_0_39066181_31206.cpp:227:13: error: redefinition of 'int yjf::a [60]'
  227 |         int a[N];
      |             ^
0_0_39066181_31206.cpp:13:13: note: 'int yjf::a [60]' previously declared here
   13 |         int a[N];
      |             ^
0_0_39066181_31206.cpp:228:13: error: redefinition of 'int yjf::n'
  228 |         int n;
      |             ^
0_0_39066181_31206.cpp:14:13: note: 'int yjf::n' previously declared here
   14 |         int n;
      |             ^
0_0_39066181_31206.cpp:229:24: error: redefinition of 'std::bitset<88> yjf::f [20]'
  229 |         std::bitset<M> f[K];
      |                        ^
0_0_39066181_31206.cpp:15:24: note: 'std::bitset<88> yjf::f [20]' previously defined here
   15 |         std::bitset<M> f[K];
      |                        ^
0_0_39066181_31206.cpp:230:13: error: redefinition of 'int yjf::ans [60][60][60]'
  230 |         int ans[N][N][N];
      |             ^~~
0_0_39066181_31206.cpp:16:13: note: 'int yjf::ans [60][60][60]' previously declared here
   16 |         int ans[N][N][N];
      |             ^~~
0_0_39066181_31206.cpp:231:20: error: redefinition of 'int yjf::read()'
  231 |         inline int read(){
      |                    ^~~~
0_0_39066181_31206.cpp:17:20: note: 'int yjf::read()' previously defined here
   17 |         inline int read(){
      |                    ^~~~
0_0_39066181_31206.cpp:245:21: error: redefinition of 'void yjf::write(int)'
  245 |         inline void write(int x){
      |                     ^~~~~
0_0_39066181_31206.cpp:31:21: note: 'void yjf::write(int)' previously defined here
   31 |         inline void write(int x){
      |                     ^~~~~
0_0_39066181_31206.cpp:254:21: error: redefinition of 'void yjf::work(int, int, int)'
  254 |         inline void work(int x,int y,int z){
      |                     ^~~~
0_0_39066181_31206.cpp:40:21: note: 'void yjf::work(int, int, int)' previously defined here
   40 |         inline void work(int x,int y,int z){
      |                     ^~~~
0_0_39066181_31206.cpp:271:13: error: redefinition of 'int yjf::main()'
  271 |         int main(){
      |             ^~~~
0_0_39066181_31206.cpp:57:13: note: 'int yjf::main()' previously defined here
   57 |         int main(){
      |             ^~~~
0_0_39066181_31206.cpp: In function 'int yjf::main()':
0_0_39066181_31206.cpp:308:19: error: 'include' was not declared in this scope
  308 |                 }#include<iostream>
      |                   ^~~~~~~
0_0_39066181_31206.cpp:308:35: error: expected primary-expression before '>' token
  308 |                 }#include<iostream>
      |                                   ^
0_0_39066181_31206.cpp:313:9: error: '#pragma' is not allowed here
  313 | #pragma GCC optimize(2)
      |         ^~~
0_0_39066181_31206.cpp:316:1: error: 'namespace' definition is not allowed here
  316 | namespace yjf{
      | ^~~~~~~~~
0_0_39066181_31206.cpp:406:14: error: a function-definition is not allowed here before '{' token
  406 | signed main(){
      |              ^
0_0_39066181_31206.cpp:420:9: error: '#pragma GCC optimize' is not allowed inside functions
  420 | #pragma GCC optimize(2)
      |         ^~~
0_0_39066181_31206.cpp:421:9: error: '#pragma GCC optimize' is not allowed inside functions
  421 | #pragma GCC optimize(3)
      |         ^~~
0_0_39066181_31206.cpp:423:1: error: 'namespace' definition is not allowed here
  423 | namespace yjf{
      | ^~~~~~~~~
0_0_39066181_31206.cpp:513:14: error: a function-definition is not allowed here before '{' token
  513 | signed main(){
      |              ^
0_0_39066181_31206.cpp:527:9: error: '#pragma GCC optimize' is not allowed inside functions
  527 | #pragma GCC optimize(2)
      |         ^~~
0_0_39066181_31206.cpp:528:9: error: '#pragma GCC optimize' is not allowed inside functions
  528 | #pragma GCC optimize(3)
      |         ^~~
0_0_39066181_31206.cpp:530:1: error: 'namespace' definition is not allowed here
  530 | namespace yjf{
      | ^~~~~~~~~
0_0_39066181_31206.cpp:620:14: error: a function-definition is not allowed here before '{' token
  620 | signed main(){
      |              ^
0_0_39066181_31206.cpp:634:9: error: '#pragma GCC optimize' is not allowed inside functions
  634 | #pragma GCC optimize(2)
      |         ^~~
0_0_39066181_31206.cpp:635:9: error: '#pragma GCC optimize' is not allowed inside functions
  635 | #pragma GCC optimize(3)
      |         ^~~
0_0_39066181_31206.cpp:637:1: error: 'namespace' definition is not allowed here
  637 | namespace yjf{
      | ^~~~~~~~~
0_0_39066181_31206.cpp:727:14: error: a function-definition is not allowed here before '{' token
  727 | signed main(){
      |              ^
0_0_39066181_31206.cpp:741:9: error: '#pragma GCC optimize' is not allowed inside functions
  741 | #pragma GCC optimize(2)
      |         ^~~
0_0_39066181_31206.cpp:742:9: error: '#pragma GCC optimize' is not allowed inside functions
  742 | #pragma GCC optimize(3)
      |         ^~~
0_0_39066181_31206.cpp:744:1: error: 'namespace' definition is not allowed here
  744 | namespace yjf{
      | ^~~~~~~~~
0_0_39066181_31206.cpp:834:14: error: a function-definition is not allowed here before '{' token
  834 | signed main(){
      |              ^
0_0_39066181_31206.cpp:848:9: error: '#pragma GCC optimize' is not allowed inside functions
  848 | #pragma GCC optimize(2)
      |         ^~~
0_0_39


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 08:56:49, Gzip enabled