Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7529 | 刘芃伽 | 奇怪的国家 | C++ | Output Limit Exceeded | 0 MS | 256 KB | 480 | 2025-05-03 10:35:57 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a1[51]={},a2[51]={}; cin>>a1; cin>>a2; int i=0; while(a1!='\0'){ if(a1!=a2){ cout<<0; } else{ cout<<1; } } return 0; }