/ Vijos /

记录详情

Compile Error

/in/foo.cc:4:21: warning: missing terminating " character
 string s1=" /\ ",s2="/__\";
                     ^
/in/foo.cc:4:21: error: missing terminating " character
 string s1=" /\ ",s2="/__\";
                     ^~~~~~~
/in/foo.cc:4:11: warning: unknown escape sequence: '\040'
 string s1=" /\ ",s2="/__\";
           ^~~~~~
/in/foo.cc:5:8: error: expected primary-expression before 's'
 string s[10005];
        ^
/in/foo.cc: In function 'void sanjiao(int, int, int)':
/in/foo.cc:12:1: error: 's' was not declared in this scope
 s[up]+=s1;
 ^
/in/foo.cc:20:1: error: 's' was not declared in this scope
 s[j]+=" ";
 ^
/in/foo.cc:24:1: error: 's' was not declared in this scope
 s[j]+=" ";
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:7: error: 's' was not declared in this scope
 cout<<s[i]<<endl;
       ^

信息

递交者
类型
递交
题目
P1167 南蛮图腾
语言
C++
递交时间
2018-04-03 20:13:31
评测时间
2018-04-03 20:13:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes