Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100113 | 郝王骏程 | 字符串拼接 | C++ | Compile Error | 0 MS | 0 KB | 194 | 2024-12-02 20:04:26 |
#include<iostream> #include<cstdio> using namespace std; int main(){ char a[100],b[100]; cin>>a>>b; int n; cin>>n; strcpy(a,b); cout<<a[n]; return 0; }
Main.cc: In function 'int main()': Main.cc:9:15: error: 'strcpy' was not declared in this scope strcpy(a,b); ^