/ Vijos /

记录详情

Compile Error

/in/foo.cc:61:14: error: stray '#' in program
     return 0;#include<iostream>
              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:15: error: 'include' was not declared in this scope
     return 0;#include<iostream>
               ^~~~~~~
/in/foo.cc:61:31: error: expected primary-expression before '>' token
     return 0;#include<iostream>
                               ^
/in/foo.cc:62:1: error: expected primary-expression before 'using'
 using namespace std;
 ^~~~~
/in/foo.cc:67:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:72:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:80:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:88:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:96:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:103:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:110:1: error: a function-definition is not allowed here before '{' token
 {
 ^
/in/foo.cc:64:11: warning: unused variable 'n2' [-Wunused-variable]
 const int n2=81,n4=1185,n6=751075,n8=72879159;
           ^~
/in/foo.cc:64:17: warning: unused variable 'n4' [-Wunused-variable]
 const int n2=81,n4=1185,n6=751075,n8=72879159;
                 ^~
/in/foo.cc:64:25: warning: unused variable 'n6' [-Wunused-variable]
 const int n2=81,n4=1185,n6=751075,n8=72879159;
                         ^~
/in/foo.cc:64:35: warning: unused variable 'n8' [-Wunused-variable]
 const int n2=81,n4=1185,n6=751075,n8=72879159;
                                   ^~
/in/foo.cc:121:14: error: expected '}' at end of input
     return 0;}
              ^

信息

递交者
类型
递交
题目
P2027 佳佳的字符串
语言
C++
递交时间
2021-07-23 08:28:58
评测时间
2021-07-23 08:28:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes