当前位置:网站首页>CSP salary calculation
CSP salary calculation
2022-07-06 09:08:00 【< WRM>】
#include<bits/stdc++.h>
using namespace std;
int main() {
int t;
scanf("%d",&t);
int s;
if(t<=3500) {
s=t;
} else if(t<=3500+1500-45) {
s=(t-105)*100/97;
} else if(t<=8000-45-300) {
s=(t-455)*10/9;
}else if(t<=3500+9000-45-300-900) {
s=(t+345-1600)*10/8;
}else if(t<=3500+35000-45-300-900-(35000-9000)*0.25) {
s=(t-1880)*100/75;
} else if(t<=3500+55000-45-300-900-6500-6000) {
s=(t-3805)*10/7;
} else if(t<=3500+80000-8750-6000-6500-900-300-45) {
s=(t-6730)*100/65;
} else {
s=(t-15080)*100/55;
}
printf("%d",s);
return 0;
}
边栏推荐
- Pytorch view tensor memory size
- An article takes you to understand the working principle of selenium in detail
- Tdengine biweekly selection of community issues | phase III
- [embedded] cortex m4f DSP Library
- Pytest参数化你不知道的一些使用技巧 /你不知道的pytest
- LeetCode:498. Diagonal traversal
- LeetCode:39. Combined sum
- [OC]-<UI入门>--常用控件-提示对话框 And 等待提示器(圈)
- 甘肃旅游产品预订增四倍:“绿马”走红,甘肃博物馆周边民宿一房难求
- 项目连接数据库遇到的问题及解决
猜你喜欢
Computer graduation design PHP Zhiduo online learning platform
Advanced Computer Network Review(5)——COPE
BMINF的後訓練量化實現
[OC-Foundation框架]--<Copy对象复制>
什么是MySQL?MySql的学习之路是怎样的
The carousel component of ant design calls prev and next methods in TS (typescript) environment
LeetCode:221. Largest Square
[OC]-<UI入门>--常用控件-提示对话框 And 等待提示器(圈)
In depth analysis and encapsulation call of requests
[today in history] February 13: the father of transistors was born The 20th anniversary of net; Agile software development manifesto was born
随机推荐
数学建模2004B题(输电问题)
【每日一题】搬运工 (DFS / DP)
【图的三大存储方式】只会用邻接矩阵就out了
LeetCode:41. Missing first positive number
LeetCode:劍指 Offer 42. 連續子數組的最大和
一篇文章带你了解-selenium工作原理详解
xargs命令的基本用法
Digital people anchor 618 sign language with goods, convenient for 27.8 million people with hearing impairment
ant-design的走马灯(Carousel)组件在TS(typescript)环境中调用prev以及next方法
LeetCode:498. Diagonal traversal
Advanced Computer Network Review(5)——COPE
Pytest参数化你不知道的一些使用技巧 /你不知道的pytest
MySQL uninstallation and installation methods
Booking of tourism products in Gansu quadrupled: "green horse" became popular, and one room of B & B around Gansu museum was hard to find
Pytest parameterization some tips you don't know / pytest you don't know
LeetCode41——First Missing Positive——hashing in place & swap
I-BERT
What is MySQL? What is the learning path of MySQL
在QWidget上实现窗口阻塞
vb. Net changes with the window, scales the size of the control and maintains its relative position