/ Vijos /

记录详情

Compile Error

foo.cc:101:10: error: stray '#' in program
         }#include <bits/stdc++.h>
          ^
foo.cc:86:1: error: expected initializer before 'eresting'
 eresting
 ^~~~~~~~
foo.cc:88:5: error: 'one' does not name a type
     one.len=1,one.a[1]=1;
     ^~~
foo.cc:89:5: error: 'two' does not name a type
     two.len=1,two.a[1]=2;
     ^~~
foo.cc:90:5: error: 'three' does not name a type
     three.len=1,three.a[1]=3;
     ^~~~~
foo.cc:91:5: error: 'h' does not name a type
     h[1]=two;
     ^
foo.cc:4:20: error: expected unqualified-id before 'for'
 #define REP(i,a,b) for (int i=a;i<=b;i++)
                    ^
foo.cc:92:5: note: in expansion of macro 'REP'
     REP(i,2,200) {
     ^~~
foo.cc:92:9: error: 'i' does not name a type
     REP(i,2,200) {
         ^
foo.cc:4:33: note: in definition of macro 'REP'
 #define REP(i,a,b) for (int i=a;i<=b;i++)
                                 ^
foo.cc:92:9: error: 'i' does not name a type
     REP(i,2,200) {
         ^
foo.cc:4:38: note: in definition of macro 'REP'
 #define REP(i,a,b) for (int i=a;i<=b;i++)
                                      ^
foo.cc:96:5: error: expected unqualified-id before 'while'
     while (cin>>n) {
     ^~~~~
foo.cc:212:5: error: expected unqualified-id before 'return'
     return 0;
     ^~~~~~
foo.cc:213:1: error: expected declaration before '}' token
 }
 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1084 Sunnypig闯罗塔关
语言
C++
递交时间
2021-07-25 20:37:12
评测时间
2021-07-25 20:37:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes