《爱情公寓5》中有个剧情:每瓶啤酒2元,2个空酒瓶或4个瓶盖可换1瓶啤酒。10元最多可喝多少瓶啤酒? 脑海模拟起来的确有点费劲。心算结果是15瓶,而剧情实践居然是20瓶!结合弹幕说的酒吧可能可以借酒,故猜测借酒使最终喝了20瓶...
//// main.c// 数组-冒泡排序//// Created by LongMa on 2019/6/26.// Copyright © 2019. All rights reserved.// #include <stdio.h>int main(int argc, const ch...
1 //用playground运行即可 2 import UIKit 3 4 var str = "Hello, playground" 5 6 let lTestPointsOne : [(Double, Double)] = [(0,0)] 7 let lTestPoints : [(Double...
效果如图:代码如下://// ViewController.swift// TwoSidedView//// Created by mayl on 2017/12/14.// C