| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 130607 | 颜学俊逸 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 272 KB | 306 | 2025-09-14 14:19:09 |
#include<iostream> using namespace std; int main(){ char a[150],b[150]; cin>>a>>b; int c = 0,d = 0; for(int i = 0;i < 150;i++){ if(a[i] == '\0'){ break; }else{ c++; } } for(int i = 0;i < 150;i++){ if(b[i] == '\0'){ break; }else{ d++; } } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----