课程编号 : 1093 - 第一册-第五课-单分支结构

课程状态: 运行中    开放 : 公开

课程概要

  • 在程序中,表示判断的语句称为分支语句,而只有一个判断的语句称为单分支语句
  • 单分支语句的语法格式:
if(表达式)
{
     分支语句
}
  • 表达式可以是任意表达式,用的比较的多的是关系表达式,比如判断变量a是不是不正数,if(a>0)
  • 点击 学习视频 开始学习



Download

名次 班级 昵称 解决 累计时间 ABCDEF
11吴思远228883:31:0814441:49:4214441:41:26
25康艺腾375850:18:0325253:01:4725277:11:26(-1)25320:04:50
36张钦246311:49:4023155:50:2623155:59:14
46竟天瑞246311:57:0823155:51:5423156:05:14
57马跃5102945:55:2120425:43:1320422:43:2820425:40:0520405:24:2121266:04:14(-1)
67宋辰煜5111830:28:2320692:25:4520761:44:0924003:49:5023089:30:4623282:57:53
77梁睿467087:31:4114641:14:18(-3)14640:57:2614641:43:04(-1)23161:16:53(-3)
87李述豪343923:56:1614641:19:5514640:59:3614641:36:45(-1)
97韩浩杨343924:17:1914641:23:2614641:11:5214641:42:01
107付锴墨343924:18:1414641:16:2814641:02:1714641:39:29(-1)
117孙仕衡343924:43:2414641:18:2914641:07:5814641:36:57(-2)(-1)
127宋治锦126067:47:06(-1)26067:47:06
139祝卓正6136722:50:2822774:29:2922774:30:5822774:56:48(-1)22848:26:4322775:02:2822775:04:02
149何雨衡482337:29:3315552:00:03(-1)14853:12:3025965:59:1625965:57:44
159伍绍廷343878:04:1814641:10:3214593:43:42(-2)14641:30:04(-3)
1610王嘉旋6141940:54:2123156:27:44(-2)23159:04:5523569:06:2924235:32:44(-3)23537:17:57(-3)24280:44:32
1710王子乐5121364:52:1724259:36:0624280:59:4024281:23:41(-2)24282:05:56(-1)24259:26:54(-1)
1810贾子轩5121386:04:3724259:32:4324280:47:4924281:23:5624282:09:08(-2)24281:11:01(-1)
1912戴传城111201:36:2811201:36:28
2018郑雅芃686697:06:3514448:41:2014448:36:3714449:03:32(-2)14449:24:03(-2)14449:27:1914449:53:44(-2)
2123娄尚4110542:49:5927593:21:1827593:16:2027641:46:59(-3)27713:25:22
2255王曦平15785:49:595785:49:59
2357徐俊熙5122713:34:3924475:09:2124475:22:0124475:48:2824643:16:41(-1)24643:38:08
2457姜懿轩255235:36:1127593:29:59(-2)27641:26:12(-1)
2563张择壹6165802:19:2727592:57:26(-2)27593:04:0027593:56:5727712:31:53(-1)27593:24:3627713:24:35(-6)
2676李宛桐695419:44:3014441:47:4914441:37:38(-1)14442:00:4817356:52:48(-3)17332:23:12(-1)17403:22:15
2776王奕博591481:40:1114441:38:5914441:36:04(-1)14441:53:10(-4)24474:13:5323680:38:05
2876段熙贝5116271:45:3123155:45:2423155:54:59(-2)23156:15:03(-2)23381:41:43(-1)23420:08:22(-1)
2976武铄政343924:12:0914641:08:4514641:05:3614641:37:48(-1)
3076张梓涵246311:53:4823155:47:0523156:06:43
3176吴佳隆114441:43:1214441:43:12
3276朱元朔114641:47:1114641:47:11
3378李济帆6145555:59:0124258:52:1924258:54:0824259:06:2124259:37:26(-2)24259:19:2724259:29:20
3479丁一阳341370:54:5714683:23:3912003:23:26(-2)14683:27:52
3579秦缙229664:35:0814832:18:1614832:16:52
3679王泺清120042:57:3520042:57:35
3779沈子钦000:00:00
3880丁硕379991:27:3426663:07:59(-1)26663:22:09(-1)26663:37:26(-2)
3982李子轩5121417:38:3323178:24:0724475:24:1724475:54:5524643:23:20(-1)24643:31:54(-2)
4082宋秉翰5122713:34:3124474:57:0124475:17:5224475:54:07(-2)24643:12:2724643:33:04
4182方怡舜5122715:09:0824475:12:0024475:20:4824475:51:3824643:19:47(-2)24643:44:55(-3)
4286窦老师6141834:44:1719245:58:5519246:00:5725990:11:3425990:15:2325371:31:53(-1)25990:25:35
4391AC11694882:24:2115789:36:34(-1)15789:33:4115789:45:48(-3)15836:53:35(-1)15836:57:0915837:37:34(-1)
44108王梓轩242847:30:0921243:01:5221604:28:17(-1)
45113聂君儒6118512:57:0219751:52:5919751:55:0519751:58:5119752:17:0719752:20:2919752:32:31
46113周靖尧6118514:43:1119752:02:5219752:06:0019752:00:04(-2)19752:19:4919752:24:2819752:49:58(-1)
47114刘恒瑜377401:56:4325800:25:3225800:39:2225800:51:49
48115靳森艺376666:00:3725170:55:2625171:12:35(-1)26323:52:36
49115李奕辰376818:46:2125171:04:3325171:31:41(-3)26474:30:07(-5)
50115胡煜岩383460:35:1027820:05:5627820:10:3927820:18:35
51115毛瑞泽250341:56:3525170:57:4525170:58:50
52115李佩杰250343:32:2325171:21:37(-1)25171:50:46
53115苏铭喆250630:38:2025315:17:1025315:21:10(-1)
54115韩依冉126476:08:1226474:28:12(-5)
55115师康卓000:00:00
56117张钰竹4110926:31:1527719:25:0827742:30:08(-3)27742:44:26(-1)27720:31:33
57117陈军言255024:40:2327303:51:1627720:09:07(-2)
58117王宸宇255413:07:0727670:05:1627743:01:51
59117全锦铎127720:42:3927720:02:39(-2)
60136杨再凯6149174:54:3424862:06:0324862:12:0524862:17:2024862:29:01(-2)24862:31:2424862:38:41
61143刘唯一249719:07:3824859:18:19(-2)24859:09:19
62143原帅124858:49:2124858:49:21
63175任梓潇6159454:17:4626491:36:3126491:48:1226492:03:1126660:11:06(-2)26658:25:2026659:33:26
64175梁奕辰4106471:26:0026492:00:5026658:21:13(-2)26658:30:43(-3)26659:33:14(-4)
65175白平越380833:30:4026491:56:4827670:15:12(-2)(-2)(-1)(-3)26668:38:40(-6)
66176郑子辰6155083:36:1725818:58:0425819:02:0725819:53:24(-1)25986:37:1825819:12:2125819:33:03
67176张祺铄122876:27:5622876:27:56
68176乔奕翔126976:25:0826976:25:08
69176刘君浩126976:34:1026976:34:10
70176冯业航000:00:00(-3)
71177职希文6149175:51:5824862:13:3824862:22:1224862:45:5324862:43:51(-1)24862:37:2224862:49:02
721776150967:55:5924863:07:4324863:10:5324863:20:1725459:08:4425459:16:34(-1)25459:31:48
73177F378405:57:1926135:02:3826135:12:0026135:42:41
74177王曼250349:46:3124862:43:1025487:03:21
75177李晨泽125487:32:5225487:32:52(-1)
76187韩梦洁6147421:32:4624569:43:1324569:47:1924570:02:37(-2)24570:11:0824570:16:35(-1)24570:31:54
77193张曦哲251973:55:1425986:48:34(-1)25986:46:40
78193王晨旭126976:17:5326976:17:53
79197李老师6152267:09:2925314:36:4525315:36:2225409:02:5325409:09:5525409:14:5625409:28:38
80197杨政翰6159655:27:3826496:41:1026664:38:4326497:45:1726665:29:5426665:33:5526665:18:39
81197李鑫源6164324:04:1427330:46:1227331:00:4927331:47:3427666:32:4827331:09:1527332:07:36(-2)
82197李冠桦5136489:33:2727163:33:1427329:52:3527331:43:0127330:54:46(-3)27332:09:51(-1)
83197郑茗太4108618:37:2626497:05:1827811:38:2326497:59:3427811:54:11
84197张浩宇4109151:38:1327160:50:1327161:21:4827667:51:3127161:34:41
85197王瀚石4109151:58:0027161:03:11(-1)27161:18:3527667:31:2227161:44:52
86197杜亦童4109494:32:2927163:45:1127331:10:5927667:33:5727332:02:22
87197陈俊晰382162:18:0127163:33:0327331:06:0327667:38:55
88197何俊领127332:04:3627332:04:36
89198B6154860:36:5025151:35:07(-1)25487:38:50(-1)26297:48:3826297:56:40(-6)25487:03:0526135:34:30(-1)
90198吴思科4104417:34:0527307:15:1225487:29:2725487:08:4226135:40:44
91198D4105423:04:0527139:31:0625487:34:4025487:12:0427307:26:15(-4)
92198A377110:52:5125487:41:4725487:16:5326135:34:11(-1)
93199李杨6161408:22:2226883:25:4526883:29:0826906:34:3526906:44:4226906:48:5326921:19:19
94207王钇燃5135340:01:1927000:14:23(-3)27000:18:4627001:56:1327168:13:3027168:18:27(-2)