#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d;
for(int i=1000; i<=9999; i++)
{
a = i%10;
b = i%10/10;
c = i%10/100;
d = i/1000;
if(a==d && b==c)
{
cout <<i <<endl;
}
}
return 0...
英文文章 | 文章字數 | 測試時長 | 準確率 | 速度 | 退格數 | 出錯數 | 成績 |
---|---|---|---|---|---|---|---|
《c++ 10.0》 | 203字 | 1.6分钟 | 100% | 115 CPM | 19 次 | 0 | 及格,继续努力! |
勵誌名言: 我们的破破烂烂的手提箱又一次堆放在人行道上;我们还有更长的路要走,不过没关系,道路就是生活,我自己就像一只永不停息的箭。 ——凯鲁亚克 | |||||||
您覺的這篇文章怎麽樣,評個分吧,做其他人的指路燈 |