/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:7:6: error: expected ';' before 'n'
  cin n;
      ^
foo.cc:7:7: warning: statement has no effect [-Wunused-value]
  cin n;
       ^
foo.cc:9:10: error: expected ';' before 's'
  getline s;
          ^
foo.cc:9:11: error: statement cannot resolve address of overloaded function
  getline s;
           ^
foo.cc:10:9: error: overloaded function with no contextual type information
  a=find.s[1];
         ^
foo.cc:11:9: error: overloaded function with no contextual type information
  b=find.s[2];
         ^
foo.cc:12:9: error: overloaded function with no contextual type information
  c=find.s[n];
         ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1220 拉面秘籍
语言
C++
递交时间
2021-08-07 12:38:19
评测时间
2021-08-07 12:38:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes