26 条题解
-
-5
#include <iostream> #include <algorithm> #include <cstdio> #include <cstring> #include <string> #include <iomanip> #include <cmath> #include <queue> #include <map> #include <stack> #include <vector> using namespace std; #define long long LL const int N = 1e6+6; const int INF = 0x3f3f3f3f; int main(){ string s; cin >> s; for (int i = 2;i>=0;i--){ cout << s[i]; } return 0; }
-
-5
/***************************************** 备注: ******************************************/ #include <queue> #include <math.h> #include <stack> #include <stdio.h> #include <iostream> #include <vector> #include <iomanip> #include <string.h> #include <algorithm> using namespace std; #define LL long long const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; int main(){ int n; cin>>n; int ge=n%10; int shi=n/10%10; int bai=n/100; cout<<ge<<shi<<bai; return 0; }
信息
- ID
- 837
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- 递交数
- 1888
- 已通过
- 713
- 上传者