| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61927 | 曾浩然 | 字符串包含判断 | C++ | Compile Error | 0 MS | 0 KB | 183 | 2023-12-16 14:05:20 |
#include<bits/stdc++.h> using namespace std; int main() { string s,s1; cin>>s1>>s; int b=s.find(s1); if(b<0){ cout<<"yes" }else{ cout<<"no"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:11:2: error: expected ';' before '}' token
}else{
^