Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93025 | 王百琛 | 2020 | C++ | Accepted | 1 MS | 272 KB | 231 | 2024-10-07 15:45:03 |
#include<bits/stdc++.h> using namespace std; int main() { //摘出来 前两位和 后两位 int n; // 2024 / 100 = 20 cin>>n; int q = n/100; int p = n % 100; if(q == p){ cout<<"YES"; }else{ cout<<"NO"; } }