| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70982 | 孙诗皓 | 奇怪的国家 | C++ | Runtime Error | 1 MS | 272 KB | 352 | 2024-04-20 17:17:20 |
#include <iostream> #include<cmath> using namespace std; int main() { string a,b,c; cin>>a>>b; int len=a.size(); for(int i=0;i<len;i++) { if(a[i]==b[i]) c[i]='1'; else c[i]='0'; } for(int j=0;j<len;j++) { cout<<c[j]; } return 0; }
*** stack smashing detected ***: ./Main terminated