题解 1985: 分段计算

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1985: 分段计算

摘要:#include<bits/stdc++.h> using namespace std; int main(){     int x;     cin >> x;     if(x<3)……

普普通通的解题方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int x,y;  scanf("%d",&x);  if (x<3)  {  y = 2*x;  }  e……