皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
分段函数。(function,1s,128MB) 【问题描述】 编写程序,计算下列分段函数 y=f(x)的值: (1)如果x>0,则y=1; (2)如果x=0,则y=0; (1)如果x<0,则y=-1; 【输入格式】 一行一个整数x,int范围以内。 【输出格式】 输出x对应的分段函数值y。 【样例输入】 500 【样例输出】 1
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】dhcp客户端是使用地址()来申请一个新的ip地址的
A.
0.0.0.0
B.
10.0.0.1
C.
127.0.0.1
D.
255.255.255.255
【简答题】S1:Steady.S2:Steady.Steady on zero three six,sir.Q:What does this helm order mean?A. The order means that the rudder should be held in the forward and aft position. B. The order means that the swing s...
【简答题】On countless mornings over the past year, I stood with my son, James, in our driveway, watching our neighbor hurry off to kindergarten.My wife and I wanted to give James the best  education, but that ...
【单选题】They all thought that James was more intelligent than _________ in our class.
A.
other student
B.
any other student
C.
any student
D.
other any student
【单选题】---Ease the helm! ---Reply: Ease the helm! ---Report: __________.
A.
Wheel is midships
B.
Course 020 degrees
C.
Steady
D.
In position
【单选题】The helm order NOTHING TO PORT means do NOT ______ .
A.
use left rudde
B.
steer to left of the ordered course
C.
steer to right of the ordered course
D.
leave any buoys on the port side
【单选题】James is ______than our teacher.
A.
tall
B.
the taller
C.
the tallest
D.
taller
【单选题】---Ease helm. ---Ease helm. ________.
A.
Wheel midship
B.
Course 20°
C.
Steady
D.
Port ten
【单选题】The helm order NOTHING TO PORT means do NOT ______.
A.
use left rudder
B.
steer to left of the ordered course
C.
steer to right of the ordered course
D.
leave any buoys on the port side
【单选题】S1: Steady. S2: Steady. Steady on zero three six, sir. Q: What does this helm order mean?
A.
The order means that the rudder should be held in the forward and aft position.
B.
The order means that the swing should be reduced as rapidly as possible.
C.
The order means that the swing should be reduced as slowly as possible.
D.
The order means that the rudder should be held on the course of 000 degrees.
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题