Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88296 | 倪士燊 | 字符串长度判断 | C++ | Wrong Answer | 1 MS | 268 KB | 249 | 2024-08-19 10:39:55 |
#include<bits/stdc++.h> using namespace std; char s[100]; char s2[100]; int main(){ cin >> s; int n = strlen(s); int n2= strlen(s); if(n == n2) { cout << "YES"; } else { cout << "NO"; } return 0; }
------Input------
wlglqarn lgmmi
------Answer-----
no
------Your output-----
YES