12 条题解
-
-3
#include <iostream> #include <stack> #include <cmath> #include <vector> #include <string.h> #include <queue> #include <stdio.h> #include <iomanip> #include <cstdio> #include <algorithm> #define int long long using namespace std; const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; signed main() { double f, x, y; cin >> f >> x >> y; double l = 1.00 + f / 100; for(int i = 1; i <= y; i++) { x *= l; } cout << signed(x) << endl; return 0; }
数据还可以让它过
-
-3
#include <iostream> #include <math.h> #include <iomanip> using namespace std; #define LL Long Long const int N=1e5+10; const int INF=0x3f3f3f3f; int main() { int R,M,Y; cin >> R >> M >> Y; int sum = 0; int R (0≤R≤20) int M (100≤M≤1,000,000) int Y (0≤Y≤400) cout << R << M << Y << endl; }```
- 1
信息
- ID
- 967
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 4
- 标签
- 递交数
- 442
- 已通过
- 192
- 上传者