1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
1
00:00:00,000 --> 00:00:10,980
>> [Jwe mizik]

2
00:00:10,980 --> 00:00:13,260
>> -Alright!

3
00:00:13,260 --> 00:00:16,400
>> -Sa A se CS50.

4
00:00:16,400 --> 00:00:18,220
>> -Sa A se CS50.

5
00:00:18,220 --> 00:00:19,324
>> -Sa A se CS50.

6
00:00:19,324 --> 00:00:20,615
[Klas Mizik - Iggy AZALEA, "FANCY"]

7
00:00:20,615 --> 00:00:29,925

8
00:00:29,925 --> 00:00:33,570
>> Pi renmen chonje -Bondye soti nan CS50
te lè mwen te ale nan Puzzle Jou.

9
00:00:33,570 --> 00:00:35,797
>> -Probably Jis tan an
te pase ap travay sou aparèy televisyon HD pwoblèm

10
00:00:35,797 --> 00:00:38,630
ak zanmi m 'ak moun ki Wold
evantyèlman vin blockmates mwen.

11
00:00:38,630 --> 00:00:40,421
>> Memwa -Bondye pi byen nan
CS50 se Hackathon la.

12
00:00:40,421 --> 00:00:41,630
Anpalan de CS50 Hackathon.

13
00:00:41,630 --> 00:00:42,130
>> -Hackathon.

14
00:00:42,130 --> 00:00:42,800
>> -Hackathon.

15
00:00:42,800 --> 00:00:43,300
-Hackathon.

16
00:00:43,300 --> 00:00:43,883
Anpalan de Hackathon

17
00:00:43,883 --> 00:00:45,027
-Rob Bowden.

18
00:00:45,027 --> 00:00:46,110
Jis tout bagay sou li.

19
00:00:46,110 --> 00:00:47,401
>> [Klas Mizik - Iggy AZALEA, "FANCY"]

20
00:00:47,401 --> 00:00:56,790

21
00:00:56,790 --> 00:01:02,512
>> Pi renmen chonje -Bondye se lè m 'te sou
sèn epi mwen te jwe wòl nan prestijye

22
00:01:02,512 --> 00:01:04,220
nan yon ne [? nan lye a?]
[? Lis. ?]

23
00:01:04,220 --> 00:01:08,470
>> -Lè Nou tout te resevwa gratis Dropbox espas ak
David te tankou, gade anba chèz ou.

24
00:01:08,470 --> 00:01:10,520
Epi li te tankou, espas pou tout moun!

25
00:01:10,520 --> 00:01:11,811
>> [Klas Mizik - Iggy AZALEA, "FANCY"]

26
00:01:11,811 --> 00:01:20,940

27
00:01:20,940 --> 00:01:22,830
>> -Bondye Konsèy pou nenpòt
fèk ap rantre elèv ta

28
00:01:22,830 --> 00:01:26,170
gen nan reyèlman travay sou
P-kouche ak zanmi yo.

29
00:01:26,170 --> 00:01:27,960
>> Èdtan -Office se anpil zanmi ou yo.

30
00:01:27,960 --> 00:01:30,870
>> L rann pi plis nan eksperyans ou
ak rankontre kòm anpil moun ki jan ou kapab.

31
00:01:30,870 --> 00:01:32,390
>> -Don't Bezwen pè pou mande pou èd.

32
00:01:32,390 --> 00:01:33,890
-Start P-ansanm sa yo, yo byen bonè nan semèn nan.

33
00:01:33,890 --> 00:01:36,723
-Mwen Panse ke bagay la pi gwo se
pran avantaj de tout resous ki

34
00:01:36,723 --> 00:01:37,950
ki CS50 te genyen an.

35
00:01:37,950 --> 00:01:39,960
>> -go Lè biwo yo byen bonè nan semèn nan.

36
00:01:39,960 --> 00:01:41,430
>> -Definitely Gade bout pantalon yo.

37
00:01:41,430 --> 00:01:42,989
>> -Don't Gentan sou ou P-aparèy televisyon HD.

38
00:01:42,989 --> 00:01:45,780
L rann w ke ou jwenn yon gwo gwoup
moun nan pèp travay sou P-kouche avèk yo.

39
00:01:45,780 --> 00:01:48,530
Ou ka gen yon anpil plezi
epi pou yo jwenn travay ou fè yo ansanm.

40
00:01:48,530 --> 00:01:50,370
>> -Don't Bezwen pè yo pouse tèt ou.

41
00:01:50,370 --> 00:01:52,080
Ale pou edisyon an aker pafwa.

42
00:01:52,080 --> 00:01:55,410
>> Bagay -Ekri sou papye anvan
ou te janm manyen òdinatè ou.

43
00:01:55,410 --> 00:01:58,380
>> -CS50 Se reyèlman gwo nan
bay fason yo ka resevwa èd.

44
00:01:58,380 --> 00:02:01,134
>> -Bondye Moso youn nan konsèy se dòmi.

45
00:02:01,134 --> 00:02:02,050
Èske okenn moun te di ke?

46
00:02:02,050 --> 00:02:04,100
Dòmi, pou asire w.

47
00:02:04,100 --> 00:02:08,919
Li fasil ou pa dwe fè, men
ou te gen yo fè l ', mwen panse.

48
00:02:08,919 --> 00:02:12,982
>> -Mwen Ta ka di reyèlman dwe prepare mantalman
paske w ap ale nan renmen li.

49
00:02:12,982 --> 00:02:14,273
[Klas Mizik - Iggy AZALEA, "FANCY"]

50
00:02:14,273 --> 00:02:17,750

51
00:02:17,750 --> 00:02:18,940
>> -Sa A se CS50.

52
00:02:18,940 --> 00:02:22,090

53
00:02:22,090 --> 00:02:23,066
>> -Sa A se CS50.

54
00:02:23,066 --> 00:02:26,400

55
00:02:26,400 --> 00:02:26,989
>> -Sa A se CS50.

56
00:02:26,989 --> 00:02:28,280
[Klas Mizik - Iggy AZALEA, "FANCY"]

57
00:02:28,280 --> 00:02:31,290

58
00:02:31,290 --> 00:02:31,964
>> -Sa A se CS50.

59
00:02:31,964 --> 00:02:36,020

60
00:02:36,020 --> 00:02:42,270
>> [Aplodisman]

61
00:02:42,270 --> 00:02:46,040
>> DAVID J. Malan: Se konsa, sa a se CS50
ak sa a se nan fen Semèn 0.

62
00:02:46,040 --> 00:02:48,770
Ak sa ki te sèlman kèk
nan anplwaye CS50 nan ki moun ki

63
00:02:48,770 --> 00:02:51,100
tann ou se pa sèlman nan seksyon
ak lè biwo, men,

64
00:02:51,100 --> 00:02:54,390
tou, nan fen semèn sa a ap vini
nan CS50 Devinèt Jou.

65
00:02:54,390 --> 00:02:56,410
Ki, ankò, se pa
tout bagay sou pwogramasyon.

66
00:02:56,410 --> 00:02:59,710
Vreman vre, li te espere ke ou
pa pral gen nan pwogram anyen,

67
00:02:59,710 --> 00:03:03,780
men pito rezoud pwoblèm lè l sèvi avèk
san ak zanmi ansanm ak ou.

68
00:03:03,780 --> 00:03:06,400
>> Nou pral gen pou jwenn nan kèk
nan zanmi nou an nan Facebook--

69
00:03:06,400 --> 00:03:08,980
si ou enskri here-- ki
pou ane ki sot pase yo plizyè,

70
00:03:08,980 --> 00:03:11,450
gen aktyèlman te ekri
defi sa yo avèk nou.

71
00:03:11,450 --> 00:03:14,822
Se konsa, yo, yo pral yo menm ki
finalman kouri Jou devinèt.

72
00:03:14,822 --> 00:03:17,530
Se konsa,, ou pral defye
ak jisteman kalite sa yo de bagay sa yo

73
00:03:17,530 --> 00:03:20,520
ak pwoblèm ki jan nan
Facebook renmen yo reflechi sou.

74
00:03:20,520 --> 00:03:21,860
Se konsa, ki se demen.

75
00:03:21,860 --> 00:03:25,980
Enskri nan cs50.harvard.edu/register.

76
00:03:25,980 --> 00:03:28,120
>> Koulye a, yon mo sou yon koup
nan anplwaye an patikilye.

77
00:03:28,120 --> 00:03:30,090
Sa a isit la se Ansel Duff,
ki moun ki se aktyèlman youn

78
00:03:30,090 --> 00:03:33,860
nan ko-otè yo nan sa yo binè
anpoul ke nou te wè nan Mèkredi,

79
00:03:33,860 --> 00:03:36,710
nan adisyon a CS50 nan pwòp Dann Bradley.

80
00:03:36,710 --> 00:03:40,094
Ansel Duff te tou yon ansyen
nevyèm ane advisee m '3 zan de sa

81
00:03:40,094 --> 00:03:41,760
epi li aktyèlman menm bati lutren sa a.

82
00:03:41,760 --> 00:03:45,330
Li te pati al nan fè
syans jeni ak plis ankò.

83
00:03:45,330 --> 00:03:49,279
Koulye a, foto li isit la se aktyèlman
Ansel 3 zan de sa nan CS50 Hackathon la

84
00:03:49,279 --> 00:03:51,820
lè li te prete youn nan nou an
balon, kole li nan laptop l 'yo,

85
00:03:51,820 --> 00:03:55,240
epi, pou 12 pwochen nan kèk enpè
èdtan, konsantre sou pwojè final l 'yo,

86
00:03:55,240 --> 00:03:59,150
pran repo sèlman yo louvri
sak nan sirèt nan Hackathon la.

87
00:03:59,150 --> 00:04:02,210
>> Men, li te ale nan plis dènyèman
depanse sa a ete ki sot pase avèk nou,

88
00:04:02,210 --> 00:04:05,270
depi CS50 pou anplwaye li yo, ak
kounye a elèv sa a semès,

89
00:04:05,270 --> 00:04:06,770
gen 3D pwòp li yo printer.

90
00:04:06,770 --> 00:04:10,180
Ak nan yon Nutshell yon enprimant 3D se
yon aparèy ki sanble byen tankou sa a.

91
00:04:10,180 --> 00:04:15,700
Ou ranpli li ak yon tanbou plastik
ki se fonn desann nan aparèy la

92
00:04:15,700 --> 00:04:18,940
epi ou bati bagay
literalman soti nan pa gen anyen.

93
00:04:18,940 --> 00:04:22,660
Anpil tankou yon enprimant ankr, ou kòmanse
voye krache deyò pwen ti kras nan plastik

94
00:04:22,660 --> 00:04:24,990
ke fòm ansanm nan
fòme objè antye.

95
00:04:24,990 --> 00:04:28,430
Se konsa, Ansel pou egzanp, pi bonè
ete sa a, gen yon iPhone 5

96
00:04:28,430 --> 00:04:30,722
ak deside li reyèlman te vle
sipòte l 'kanpe sou biwo li.

97
00:04:30,722 --> 00:04:32,638
Men, li pa t 'vle
ale deyò epi yo achte yon bagay

98
00:04:32,638 --> 00:04:36,030
soti nan magazen an Apple oswa tankou an, se konsa li
chita bò tab la ak te kòmanse fè desen yon bagay.

99
00:04:36,030 --> 00:04:38,280
Li pran yon mezi kèk
ki di kòman epè

100
00:04:38,280 --> 00:04:41,270
ak ki jan lajè iPhone l 'te ye a,
li rale imaj sa a isit la,

101
00:04:41,270 --> 00:04:43,870
li te deside ke li te vle
gen yon enklinezon degre 75

102
00:04:43,870 --> 00:04:46,150
jan li te fikse nan
l 'sou biwo li a.

103
00:04:46,150 --> 00:04:50,440
Apre sa, li vire sa a, lè l sèvi avèk
lojisyèl, nan yon modèl 3D CAD

104
00:04:50,440 --> 00:04:52,400
ki gade yon ti kras
yon bagay tankou sa a.

105
00:04:52,400 --> 00:04:55,940
Lè sa a, li t'ap,
finalman, yo aktyèlman kreye li.

106
00:04:55,940 --> 00:05:00,250
Se konsa, an reyalite, si nenpòt nan ou isit la, petèt
nan yon ranje ke mwen ka voye jete a, gen

107
00:05:00,250 --> 00:05:06,780
an-- gen nou gen jan ak iPhone
5, ak isit la nou gen de plis.

108
00:05:06,780 --> 00:05:10,650

109
00:05:10,650 --> 00:05:17,037
>> Koulye a, pa vle yo outdone, CS50 nan pwòp
Cheng Gong tou mete soti ete sa a

110
00:05:17,037 --> 00:05:19,870
yo bati bagay byen kèk, epi,
an reyalite, pou rezon ki toujou

111
00:05:19,870 --> 00:05:23,970
klè, te gen tou dousman
enprime yon lame nan elefan

112
00:05:23,970 --> 00:05:27,250
ak Formulation bra ak kalson.

113
00:05:27,250 --> 00:05:32,515
Yon koup nan yo ki aktyèlman isit la si
nenpòt moun ki ta kounye a like-- yon elefan.

114
00:05:32,515 --> 00:05:35,650

115
00:05:35,650 --> 00:05:40,522
Tout dwa,. men sa ki Cheng tou te fè
pou nou se li trè dous mete kanpe yon kamera

116
00:05:40,522 --> 00:05:42,230
paske sa elefan,
kwè li ou pa,

117
00:05:42,230 --> 00:05:44,690
pran kèk de ak yon
èdtan mwatye ekri ak lèt ​​detache.

118
00:05:44,690 --> 00:05:47,840
Menm kanpe la iPhone te pran
yon èdtan ak yon mwatye a enprime.

119
00:05:47,840 --> 00:05:51,490
Ak sa ki Cheng te ale pi devan epi fè
te mete kanpe yon kamera bèl nan devan

120
00:05:51,490 --> 00:05:55,580
nan sa a enprimant 3D, filme-li pou yon èdtan
ak yon mwatye kòm konsepsyon Ansel a enprime.

121
00:05:55,580 --> 00:05:58,090
Nou kouvri kèk sexy
mizik li yo nan lòd

122
00:05:58,090 --> 00:06:00,570
ba ou sa a yo gade
nan ki jan enprime 3D travay.

123
00:06:00,570 --> 00:06:02,494
E menm si sa a
se aktyèlman nan plastik,

124
00:06:02,494 --> 00:06:05,160
reyalize ke si sa a se yon zòn
nan enterè ou onivo akademik,

125
00:06:05,160 --> 00:06:07,120
gen jan, nan mitan
yo Jennifer Lewis isit la

126
00:06:07,120 --> 00:06:09,036
nan Lekòl la nan
Jeni, ki moun ki yo aktyèlman

127
00:06:09,036 --> 00:06:10,920
ap travay sou enprime 3D
bagay ki gen plastik.

128
00:06:10,920 --> 00:06:14,150
Men, menm, de pli zan pli,
materyèl byolojik yo rezoud

129
00:06:14,150 --> 00:06:16,530
pwoblèm fizyolojik pou moun.

130
00:06:16,530 --> 00:06:19,944
Men, isit la se yon ti kras
yon bagay nan men CS50.

131
00:06:19,944 --> 00:06:31,625
>> [Byen fò MECHANICAL bwi]

132
00:06:31,625 --> 00:06:34,250
DAVID J. Malan: Li pa son
bagay tankou sa an reyalite,

133
00:06:34,250 --> 00:06:37,240
men li la anpil pi fre yo gade li
nan ki vitès, ak ki son.

134
00:06:37,240 --> 00:06:40,000
>> Koulye a, nan Mèkredi, ki jan
nou te premye jwenn isit la?

135
00:06:40,000 --> 00:06:43,345
Nou te kòmanse pale sou òdinatè
syans ak nou te mande ki sa li te ye a.

136
00:06:43,345 --> 00:06:46,470
Epi li a sou yon kantite bagay sa yo, ak
gen nan anpil diferan direksyon

137
00:06:46,470 --> 00:06:48,477
nan ki ou ka mete tèt
apre yon kou tankou CS50.

138
00:06:48,477 --> 00:06:50,810
An reyalite, si ou ranmase yon sèl
nan tout sa yo gid ofisyèl

139
00:06:50,810 --> 00:06:54,080
CS deyò, ti liv la ki
nou te bay, si wi ou non w ap

140
00:06:54,080 --> 00:06:57,150
panse a pran jis CS50,
oswa petèt fè yon segondè,

141
00:06:57,150 --> 00:06:59,557
oswa petèt menm konsantre
nan CS, baskile nan sa.

142
00:06:59,557 --> 00:07:01,390
Epi ou pral wè yon dyagram
nan direksyon nan fen ki

143
00:07:01,390 --> 00:07:04,950
montre ou anpil direksyon sa yo diferan
nan CS ke ou ka ale wete nan.

144
00:07:04,950 --> 00:07:09,030
>> Men, pou jodi a, nou pral konsantre, ankò, sou
reyèlman youn nan opinyon yo fondamantal,

145
00:07:09,030 --> 00:07:11,500
petèt, ki kote ou gen
entrain nan pwoblèm,

146
00:07:11,500 --> 00:07:13,430
ou gen sorti soti nan
pwoblèm, epi ou gen

147
00:07:13,430 --> 00:07:17,420
algoritm ak ki yo kreye
moun sorti nan men moun entrain.

148
00:07:17,420 --> 00:07:20,330
Ak yon egzanp sa yo, se te nan
kou, liv telefòn sa a isit la.

149
00:07:20,330 --> 00:07:24,180
Apre sa, nou itilize kòm yon egzanp yo ale
atravè yon algorithm ki te kòrèk.

150
00:07:24,180 --> 00:07:26,490
Lè sa a, yon lòt yon sèl te
kòrèk, men yon ti kras pi vit.

151
00:07:26,490 --> 00:07:29,448
Lè sa a, yon lòt youn ki te yon ti kras
plis dramatik, men fondamantalman

152
00:07:29,448 --> 00:07:30,000
pi vit.

153
00:07:30,000 --> 00:07:32,720
>> Dwa, liv sa a nou telefòn
reklame te gen sou 1,000 paj.

154
00:07:32,720 --> 00:07:36,200
Ak ki jan anpil fwa te fè mwen gen
yo chire liv telefòn nan nan mwatye

155
00:07:36,200 --> 00:07:39,930
nan jwenn yon moun tankou Mike Smith,
omaksimòm, nan 1,000 paj liv?

156
00:07:39,930 --> 00:07:41,040
Se konsa, 10 bay oswa pran.

157
00:07:41,040 --> 00:07:45,050
Se konsa, yon fwa mwen chire bagay sa a nan
mwatye, oswa tou senpleman, plis maturely,

158
00:07:45,050 --> 00:07:48,490
divize an mwatye, li a sèlman
10 paj soti nan 1,000.

159
00:07:48,490 --> 00:07:51,470
Men, si ou èkstrapolasyon, yon ti kras
irealist pou yon liv telefòn,

160
00:07:51,470 --> 00:07:56,540
men si liv telefòn sa a te gen kèk 4
milya dola paj nan li, se konsa konplètman

161
00:07:56,540 --> 00:07:59,680
maladwa fizikman, konbyen
fwa ou divize yon 4 milya de dola

162
00:07:59,680 --> 00:08:01,460
paj liv telefòn nan mwatye?

163
00:08:01,460 --> 00:08:03,035
Se konsa, li la aktyèlman 32, bay oswa pran.

164
00:08:03,035 --> 00:08:07,090
Se konsa, 32 fwa sèlman, soti
nan 4 milya dola paj, kapab

165
00:08:07,090 --> 00:08:08,700
ou jwenn yon moun tankou Mike Smith.

166
00:08:08,700 --> 00:08:09,740
Epi sa a, efikasite.

167
00:08:09,740 --> 00:08:12,130
Sa a se yon algorithm bon, daresay.

168
00:08:12,130 --> 00:08:14,480
>> Men, lè sa a nou te deplase soti nan ki
pou yo eseye formalizra li.

169
00:08:14,480 --> 00:08:16,100
Apre sa, mwen pwopoze sa a Kòd pseudocode.

170
00:08:16,100 --> 00:08:17,800
Pseudocode Kòd se pa anyen fòmèl.

171
00:08:17,800 --> 00:08:18,880
Li pa yon bagay ou memorize.

172
00:08:18,880 --> 00:08:21,588
Se jis nan yon bagay ou eksprime
san patipri entwitif lè l sèvi avèk lang angle,

173
00:08:21,588 --> 00:08:24,990
oswa nenpòt lang reyèlman, ki
tradwi ide w suksen.

174
00:08:24,990 --> 00:08:26,990
Men, sa ki nan kle sou
Kòd pseudocode se ke ou

175
00:08:26,990 --> 00:08:30,331
eseye antisipe tout nan a
ka posib ki ta ka rive.

176
00:08:30,331 --> 00:08:33,080
Ak tout bon, nan pseudocode sa a
Kòd, te gen reyèlman twa ka

177
00:08:33,080 --> 00:08:34,700
chak fwa mwen divize liv telefòn nan.

178
00:08:34,700 --> 00:08:36,006
Mike ta ka bò gòch la.

179
00:08:36,006 --> 00:08:37,130
Mike ta ka a dwat la.

180
00:08:37,130 --> 00:08:39,240
Oswa li ta ka bon sou paj la mwen se sou.

181
00:08:39,240 --> 00:08:42,110
Oswa yon ka kwen katriyèm, se konsa pale.

182
00:08:42,110 --> 00:08:46,470
Yon senaryo move ka fè yon sèl
which-- sa k ap pase?

183
00:08:46,470 --> 00:08:48,860
Mike a jis pa nan
liv telefòn nan nan tout.

184
00:08:48,860 --> 00:08:52,720
>> Lè pwogram crash-- lè Mac
ak lojisyèl PC ke ou nèg kouri

185
00:08:52,720 --> 00:08:56,400
sou òdinatè ou pafwa
pandye oswa kit san atann,

186
00:08:56,400 --> 00:08:59,770
sa vle di jeneralman ke kèk
pwogramè, gen kèk moun tankou ou byento,

187
00:08:59,770 --> 00:09:01,650
jis vise moute ak fè kèk erè.

188
00:09:01,650 --> 00:09:05,207
Petèt pa t 'antisipe ke petèt gen
gen okenn Mike Smith nan liv telefòn nan.

189
00:09:05,207 --> 00:09:08,040
Men, si ou pa aktyèlman ekri
Kòd okipe sitiyasyon tankou sa yo,

190
00:09:08,040 --> 00:09:09,890
jeneralman kapab prevwa
bagay sa yo ka rive.

191
00:09:09,890 --> 00:09:10,960
Machin ou ka friz.

192
00:09:10,960 --> 00:09:11,730
Li ka rdemare.

193
00:09:11,730 --> 00:09:12,889
Pwogram nan ka kite fimen.

194
00:09:12,889 --> 00:09:14,722
Se konsa, tout moun sa yo
stupidities ke ou ka

195
00:09:14,722 --> 00:09:18,030
te rankontre nan aktyèl ou
lavi jis lè l sèvi avèk òdinatè,

196
00:09:18,030 --> 00:09:20,710
ap de pli zan pli ka jis
eksplike ale nan entwisyon sa a

197
00:09:20,710 --> 00:09:24,920
ak konpreyansyon sa a nan sa ki
aktyèlman pral sou anba kapo a.

198
00:09:24,920 --> 00:09:27,329
>> Koulye a, kite a eseye pran yon gade
nan yon pwoblèm ki pi jeneral.

199
00:09:27,329 --> 00:09:29,120
Olye ke pran
prezans nan yon kote tankou

200
00:09:29,120 --> 00:09:32,230
sa a, ki ta dwe byen dousman
fè yonn, de, twa, kat.

201
00:09:32,230 --> 00:09:34,070
Oswa petèt de, kat, sis, uit.

202
00:09:34,070 --> 00:09:36,080
Se pou yo konsantre, olye de sa, sou
ki jan nou ta ka formalizra

203
00:09:36,080 --> 00:09:39,400
algorithm a nan pwosesis la pa
ki nou kapab pran prezans.

204
00:09:39,400 --> 00:09:42,290
Ak tout wout la, kite la kòmanse
pou aplike pou kèk nomanklatur

205
00:09:42,290 --> 00:09:47,130
ke nou pral itilize jodi a lè nou aktyèlman
kòmanse pwogramasyon nan yon lang.

206
00:09:47,130 --> 00:09:50,910
Se konsa, mwen ba ou koulye a, yon videyo kat minit
ke nou mete ansanm ak zanmi nou an

207
00:09:50,910 --> 00:09:52,820
soti nan TED, òganizasyon an.

208
00:09:52,820 --> 00:09:56,380
Kijan nou apwovizyone yon script ak
yo mennen animation yo pote,

209
00:09:56,380 --> 00:10:00,970
ak aktyèlman kreye yon 2D
animasyon nan sa ki yon algorithm se.

210
00:10:00,970 --> 00:10:02,776
Si nou te ka bese limyè yo.

211
00:10:02,776 --> 00:10:06,664
>> [Jwe mizik]

212
00:10:06,664 --> 00:10:17,890

213
00:10:17,890 --> 00:10:19,140
Konteur: Ki sa ki nan yon algorithm?

214
00:10:19,140 --> 00:10:21,620
Nan syans konpitè,
yon algorithm se yon seri

215
00:10:21,620 --> 00:10:24,840
nan enstriksyon rezoud
kèk pwoblèm etap-pa-etap.

216
00:10:24,840 --> 00:10:27,310
Tipikman, algoritm yo
egzekite pa òdinatè,

217
00:10:27,310 --> 00:10:29,365
men nou moun gen algoritm kòm byen.

218
00:10:29,365 --> 00:10:31,240
Pou egzanp, ki jan ta
ou ale sou konte

219
00:10:31,240 --> 00:10:32,990
kantite moun ki nan yon chanm?

220
00:10:32,990 --> 00:10:36,840
Oke, si w ap tankou m ', ou ta pwobableman
pwen nan chak moun yon sèl nan yon tan

221
00:10:36,840 --> 00:10:38,370
ak konte moute soti nan zewo.

222
00:10:38,370 --> 00:10:41,200
Youn, de, twa, kat, ak pou fè.

223
00:10:41,200 --> 00:10:42,410
Oke, sa a, se yon algorithm.

224
00:10:42,410 --> 00:10:45,820
An reyalite, kite a eseye eksprime sa yo panse li yon
mòde plis fòmèlman nan kòd pseudocode.

225
00:10:45,820 --> 00:10:48,940
Angle-tankou sentaks ki
sanble ak yon lang programmation.

226
00:10:48,940 --> 00:10:50,880
>> Se pou n egal 0.

227
00:10:50,880 --> 00:10:55,210
Pou chak moun ki nan chanm nan,
mete n egal a n plis 1.

228
00:10:55,210 --> 00:10:56,790
Ki jan yo entèprete pseudocode a?

229
00:10:56,790 --> 00:10:59,490
Oke liy yon sèl deklare,
se konsa pale, yon varyab

230
00:10:59,490 --> 00:11:02,880
rele N ak inisyalizasyon
valè li yo nan 0 Sa a jis

231
00:11:02,880 --> 00:11:05,080
vle di ke nan la
kòmanse nan algorithm nou an,

232
00:11:05,080 --> 00:11:07,910
bagay la ak ki nou ap
konte gen yon valè de 0.

233
00:11:07,910 --> 00:11:10,860
Apre yo tout, anvan nou kòmanse konte
nou pa gen konte anyen ankò.

234
00:11:10,860 --> 00:11:13,580
Rele sa a varyab
n se jis yon konvansyon.

235
00:11:13,580 --> 00:11:15,130
Mwen te kapab yo te rele li pi anyen.

236
00:11:15,130 --> 00:11:17,460
Koulye a, liy de demarks
nan kòmansman an nan yon riban,

237
00:11:17,460 --> 00:11:20,550
yon sekans nan etap ki pral
repete kèk kantite fwa.

238
00:11:20,550 --> 00:11:24,130
Se konsa, nan egzanp nou an, etap la nou ap
pran se konte moun nan sal la.

239
00:11:24,130 --> 00:11:26,260
Anba liy de se liy
twa ki dekri

240
00:11:26,260 --> 00:11:28,400
egzakteman ki jan nou pral ale sou konte.

241
00:11:28,400 --> 00:11:31,720
Dekoupaj an implique ke
li nan liy twa ki pral repete.

242
00:11:31,720 --> 00:11:35,190
Se konsa, avèk kòd la pseudocode se
li di se ke apre kòmanse nan 0

243
00:11:35,190 --> 00:11:38,940
pou chak moun nan nan
chanm nou pral ogmante n pa 1

244
00:11:38,940 --> 00:11:41,310
Koulye a, se sa a algorithm kòrèk?

245
00:11:41,310 --> 00:11:42,820
Oke, kite a Bang sou li yon ti jan.

246
00:11:42,820 --> 00:11:45,520
>> li travay si gen
de moun nan chanm nan?

247
00:11:45,520 --> 00:11:46,420
Ann gade pou wè.

248
00:11:46,420 --> 00:11:48,500
Nan liy yon sèl nou inisyalize n a 0.

249
00:11:48,500 --> 00:11:51,910
Pou chak nan de moun sa yo,
nou Lè sa a kantite n pa 1.

250
00:11:51,910 --> 00:11:55,570
Se konsa, nan premye vwayaj la atravè la
riban, nou mete ajou n ki ant 0 a 1.

251
00:11:55,570 --> 00:11:59,320
Sou dezyèm vwayaj la nan ki
menm riban, nou mete ajou n nan 1 rive nan 2.

252
00:11:59,320 --> 00:12:02,850
Se konsa, pa algorithm a sa a
fen, n se 2, ki

253
00:12:02,850 --> 00:12:04,950
tout bon matche ak nimewo a
nan moun ki nan sal la.

254
00:12:04,950 --> 00:12:06,040
Se konsa, lwen, se konsa bon.

255
00:12:06,040 --> 00:12:07,870
>> Kouman sou yon ka kwen menm si?

256
00:12:07,870 --> 00:12:11,090
Sipoze ke gen 0 moun
nan room-- a san konte m ', ki moun ki nan

257
00:12:11,090 --> 00:12:12,420
fè konte.

258
00:12:12,420 --> 00:12:15,380
Nan liy yon sèl, nou ankò inisyalize n a 0.

259
00:12:15,380 --> 00:12:17,810
Fwa sa a, menm si, liy
twa pa egzekite nan tout

260
00:12:17,810 --> 00:12:19,610
depi gen se pa yon moun nan sal la.

261
00:12:19,610 --> 00:12:23,540
Se konsa, n rete 0, ki tout bon alimèt
kantite moun ki nan sal la.

262
00:12:23,540 --> 00:12:24,670
Trè senp, dwa?

263
00:12:24,670 --> 00:12:27,880
Men, konte moun ki yon sèl nan yon tan
se trè rezèvwa, tou, pa gen okenn?

264
00:12:27,880 --> 00:12:29,160
Se vre wi nou ka fè pi byen.

265
00:12:29,160 --> 00:12:33,440
Poukisa nou pa konte de moun nan yon moman,
olye pou yo konte yonn, de, twa,

266
00:12:33,440 --> 00:12:36,470
kat, senk, sis, sèt,
uit, ak pou fè.

267
00:12:36,470 --> 00:12:39,106
Poukisa nou pa konte de, kat,
sis, uit, ak sou sa?

268
00:12:39,106 --> 00:12:40,670
Li menm son pi vit.

269
00:12:40,670 --> 00:12:41,940
Epi li siman se.

270
00:12:41,940 --> 00:12:44,490
>> Se pou yo eksprime optimize sa a
nan kòd pseudocode.

271
00:12:44,490 --> 00:12:46,040
Se pou n egal 0.

272
00:12:46,040 --> 00:12:50,760
Pou chak pè nan moun ki nan
chanm, mete n egal a n plis 2.

273
00:12:50,760 --> 00:12:52,360
Joli chanjman senp, dwa?

274
00:12:52,360 --> 00:12:56,560
Olye ke konte konbe moun yon sèl nan yon tan,
nou olye konte yo de nan yon tan.

275
00:12:56,560 --> 00:12:59,240
Sa a algorithm a, konsa,
de fwa osi vit ke dènye a.

276
00:12:59,240 --> 00:13:00,530
Men, se li kòrèk?

277
00:13:00,530 --> 00:13:01,160
Ann gade pou wè.

278
00:13:01,160 --> 00:13:03,580
li travay si gen
de moun nan chanm nan?

279
00:13:03,580 --> 00:13:05,800
Nan liy yon sèl, nou inisyalize n a 0.

280
00:13:05,800 --> 00:13:09,160
Pou ki pè youn nan moun,
nou Lè sa a kantite n pa 2.

281
00:13:09,160 --> 00:13:11,910
Se konsa, pa sa a algorithm a
fen n se 2, ki

282
00:13:11,910 --> 00:13:13,910
tout bon matche ak nimewo a
nan moun ki nan sal la.

283
00:13:13,910 --> 00:13:16,610
>> Sipoze pwochen ke gen
zewo moun nan sal la.

284
00:13:16,610 --> 00:13:19,080
Nan liy yon sèl nou inisyalize n a 0.

285
00:13:19,080 --> 00:13:21,260
Kòm anvan, liy twa
pa egzekite li tout

286
00:13:21,260 --> 00:13:25,270
depi pa gen okenn pè moun
nan chanm nan, ak pou n rete 0.

287
00:13:25,270 --> 00:13:27,840
Ki tout bon alimèt la
kantite moun ki nan sal la.

288
00:13:27,840 --> 00:13:30,520
Men, sa ki si gen
twa moun nan chanm nan?

289
00:13:30,520 --> 00:13:32,380
Kijan sa a pri tikè algorithm?

290
00:13:32,380 --> 00:13:35,710
Ann wè, nan liy yon sèl,
nou inisyalize n a 0.

291
00:13:35,710 --> 00:13:39,140
Pou yon pè nan moun sa yo,
nou Lè sa a kantite n pa 2.

292
00:13:39,140 --> 00:13:40,050
Men, Lè sa a, ki sa?

293
00:13:40,050 --> 00:13:42,340
Gen se pa yon lòt plen
pè nan moun ki nan chanm nan,

294
00:13:42,340 --> 00:13:44,430
Se konsa, liy de pa gen okenn ankò aplike.

295
00:13:44,430 --> 00:13:48,790
Se konsa, nan fen sa a algorithm a,
n se toujou 2 ki se pa kòrèk.

296
00:13:48,790 --> 00:13:52,070
Vreman vre sa a algorithm a di
gen buggy paske li gen yon erè.

297
00:13:52,070 --> 00:13:54,070
>> Reparasyon Ann ak kèk
Haitian Kòd pseudocode.

298
00:13:54,070 --> 00:13:56,110
Se pou n egal 0.

299
00:13:56,110 --> 00:14:00,790
Pou chak pè nan moun ki nan
chanm, mete N egal a n plis 2.

300
00:14:00,790 --> 00:14:05,410
Si yon moun rete enpèr,
mete N egal a n plis 1.

301
00:14:05,410 --> 00:14:09,340
Pou rezoud pwoblèm sa a an patikilye, nou te
prezante nan liy kat yon kondisyon,

302
00:14:09,340 --> 00:14:12,120
otreman li te ye kòm yon
branch, ke se sèlman ègzekutra

303
00:14:12,120 --> 00:14:14,890
si gen nan yon sèl moun ki nou
pa t 'kapab pè ak yon lòt.

304
00:14:14,890 --> 00:14:17,140
Se konsa, kounye a, si wi ou non
gen nan yon sèl, oswa twa,

305
00:14:17,140 --> 00:14:21,550
oswa nenpòt nonb enpè nan moun ki nan sal la,
sa a algorithm pral konte kounye a yo.

306
00:14:21,550 --> 00:14:22,810
Èske nou ka fè menm pi bon?

307
00:14:22,810 --> 00:14:25,890
Oke, nou te kapab konte nan threes,
oswa four, oswa menm Fives ak dè dizèn,

308
00:14:25,890 --> 00:14:29,390
men pi lwen pase sa, li k ap pase yo jwenn
yon ti jan difisil nan pwen.

309
00:14:29,390 --> 00:14:32,900
>> Nan fen jounen an, si wi ou non
egzekite pa òdinatè oswa moun,

310
00:14:32,900 --> 00:14:34,870
algoritm yo se jis
yon seri enstriksyon

311
00:14:34,870 --> 00:14:36,560
ak ki yo rezoud pwoblèm.

312
00:14:36,560 --> 00:14:38,360
Se yo ki te jis twa.

313
00:14:38,360 --> 00:14:41,860
Ki pwoblèm ou ta
rezoud ak yon algorithm?

314
00:14:41,860 --> 00:14:44,261
>> DAVID J. Malan: Se konsa, fè espre,
yon pwogram trè senp,

315
00:14:44,261 --> 00:14:46,260
yon algorithm trè senp,
pou reyalize yon bagay

316
00:14:46,260 --> 00:14:48,280
trè senp, konte a
kantite moun ki nan sal la.

317
00:14:48,280 --> 00:14:50,370
>> Men, kite a toumante apa
kèk nan reprezantan an

318
00:14:50,370 --> 00:14:52,870
karakteristik isit la ke yo aktyèlman
pral fè itil menm lè

319
00:14:52,870 --> 00:14:54,880
mete ann aplikasyon pi plis nan
konplèks nan lojisyèl.

320
00:14:54,880 --> 00:14:58,060
Se konsa, pou egzanp, nan liy sa a an premye,
nou gen sa nou rele varyab la,

321
00:14:58,060 --> 00:15:01,040
ak soti nan aljèb, w ap
jeneralman abitye lè l sèvi avèk x ak y

322
00:15:01,040 --> 00:15:02,930
ak z pafwa, ak pou fè.

323
00:15:02,930 --> 00:15:05,770
Men, nan pwogram, varyab
yo toujou, nan fen jounen an,

324
00:15:05,770 --> 00:15:06,680
trè menm jan ak sa.

325
00:15:06,680 --> 00:15:09,910
Men, li la petèt ki pi senp yo panse
nan yon varyab kòm jis yon veso.

326
00:15:09,910 --> 00:15:13,520
Epi, an reyalite, li la kèk nimewo nan Bits
aplike yon jan kanmenm nan ki gen kapasite difisil ou

327
00:15:13,520 --> 00:15:16,410
oswa nan memwa òdinatè ou a,
men plis sou sa nan tan kap vini an.

328
00:15:16,410 --> 00:15:17,670
Se jis nan yon veso.

329
00:15:17,670 --> 00:15:20,310
Men, si ou di yon bagay
tankou kite n egal 0,

330
00:15:20,310 --> 00:15:24,310
byen sa a, se tankou w rele sa a vè
bòl isit la n, jis yon non abitrè,

331
00:15:24,310 --> 00:15:26,230
ak mete pa gen anyen nan li okòmansman.

332
00:15:26,230 --> 00:15:28,940
Se konsa, valè a nan sa a
bòl kounye a se zewo.

333
00:15:28,940 --> 00:15:31,380
Ak nan kou si ou wè
nan yon liy ki vin apre,

334
00:15:31,380 --> 00:15:35,070
ki aktyèlman kantite kèk liy nan
Kòd, tankou nan liy sa a twazyèm isit la,

335
00:15:35,070 --> 00:15:39,857
pa 1, sa a, se tankou li di sa ki nan la
valè aktyèl la nan n, li nan 0, plis 1,

336
00:15:39,857 --> 00:15:41,690
mete yon bagay tankou yon
ping pong boul nan isit la.

337
00:15:41,690 --> 00:15:45,140
Koulye a, valè a nan sa a
varyab se byen tou senpleman 1.

338
00:15:45,140 --> 00:15:50,064
Epi ou te kapab trè byen vit èkstrapolasyon,
men kounye a li a 2, kounye a li nan 3, ak sou sa.

339
00:15:50,064 --> 00:15:51,230
Se konsa, ki nan tout yon varyab se.

340
00:15:51,230 --> 00:15:53,740
Li se yon moso nan depo
aktyèlman magazen kèk done.

341
00:15:53,740 --> 00:15:55,050
Pou kounye a li nan yon boul ping pong.

342
00:15:55,050 --> 00:15:55,883
Gen li a yon nimewo.

343
00:15:55,883 --> 00:15:58,910
Men, li te kapab fè mo nan yon
diksyonè, tankou korektè a période

344
00:15:58,910 --> 00:16:02,300
Mwen mansyone nan Mèkredi pou
youn nan aparèy televisyon HD pwoblèm ane pase a.

345
00:16:02,300 --> 00:16:05,640
>> Koulye a, yon lòt lide kle, ki Menm jan an tou
se trè entwisyon mwen ta fè reklamasyon,

346
00:16:05,640 --> 00:16:06,690
se ke nan yon bouk.

347
00:16:06,690 --> 00:16:08,930
Ak riban an nan pwosesis la
nan konte tout moun

348
00:16:08,930 --> 00:16:12,540
se, nan kou, ap fè menm bagay la tou
bagay ankò, li again-- swa youn

349
00:16:12,540 --> 00:16:14,140
nan yon moman oswa de nan yon tan.

350
00:16:14,140 --> 00:16:17,690
Epi ou ka eksprime sa a nan lang angle, oswa
Kòd pseudocode, nan nenpòt ki nimewo nan fason,

351
00:16:17,690 --> 00:16:21,560
men lè l sèvi avèk prepozisyon sa a "pou"
se yon fason trè komen nan fè sa.

352
00:16:21,560 --> 00:16:24,460
Pou chak moun nan chanm nan, fè sa.

353
00:16:24,460 --> 00:16:25,350
Ankò e ankò.

354
00:16:25,350 --> 00:16:27,700
Ak lefèt ke li nan
utilize, liy twa,

355
00:16:27,700 --> 00:16:29,840
jis vle di ke sa ki
w ap sipoze fè

356
00:16:29,840 --> 00:16:33,490
se bagay la ki nan utilize
pi ba pase liy de tèt li.

357
00:16:33,490 --> 00:16:35,590
Jis yon konvansyon imen,
men yon sèl komen

358
00:16:35,590 --> 00:16:39,010
kòm nou pral wè nan aktyèl pi wo
pwogram nivo lang.

359
00:16:39,010 --> 00:16:41,870
>> Koulye a, ti kras pi plis enteresan an se
lè ou jwenn nan yon ka kwen.

360
00:16:41,870 --> 00:16:43,970
Pou egzanp, yon kwen
ka te lè gen

361
00:16:43,970 --> 00:16:48,060
te gen twa moun, oswa senk, oubyen sèt,
oswa nenpòt nonb enpè nan moun ki nan sal la,

362
00:16:48,060 --> 00:16:51,630
paske fè sa pa Dezan fren
evantyèlman paske ou pral

363
00:16:51,630 --> 00:16:54,265
yo kapab manke yon moun, swa nan la
kòmansman trè oswa nan fen an trè

364
00:16:54,265 --> 00:16:55,390
depann sou ki jan ou fè li.

365
00:16:55,390 --> 00:16:59,800
Se konsa, kounye a, mwen gen branch sa a, oswa
kondisyon, si yon sèl moun rete,

366
00:16:59,800 --> 00:17:04,490
Lè sa a, ale pi devan epi okipe ke youn
solitèr moun ki pa t 'jwenn

367
00:17:04,490 --> 00:17:05,690
pè ak yon lòt moun.

368
00:17:05,690 --> 00:17:09,030
Se konsa, se sa ki nou ta ka rele
yon kondisyon, oswa yon branch.

369
00:17:09,030 --> 00:17:11,500
>> Koulye a, pseudocode Kòd
plis jeneralman ka

370
00:17:11,500 --> 00:17:13,730
ekri yo rezoud nenpòt ki kantite pwoblèm.

371
00:17:13,730 --> 00:17:16,490
Epi ki sa mwen te panse nou ta
fè isit la se pran yon moman

372
00:17:16,490 --> 00:17:20,089
envite pou nou di CS50 nan
posede Rob Bowden sou sèn

373
00:17:20,089 --> 00:17:25,040
yo dwe ansanm ak de volontè,
ki moun ki pa gen okenn lide sa ki ap tann.

374
00:17:25,040 --> 00:17:26,890
Yon men desann pi vit ke mwen te di ke.

375
00:17:26,890 --> 00:17:28,700
Kouman sou ou sou la
fini isit la, vini sou yo.

376
00:17:28,700 --> 00:17:33,040
Ak ki jan sou soti nan pi lwen
lwen, ki jan sou fason nan do a.

377
00:17:33,040 --> 00:17:35,200
Retounen ranje, vini sou yo ak men leve ou yo.

378
00:17:35,200 --> 00:17:36,475
Oke, ak sa ki nan non ou?

379
00:17:36,475 --> 00:17:36,960
>> ANITA: Anita.

380
00:17:36,960 --> 00:17:37,655
>> DAVID J. Malan: Anita.

381
00:17:37,655 --> 00:17:38,613
Okay, bèl al kontre ou.

382
00:17:38,613 --> 00:17:41,010
Kite m 'entwodui ou nan Rob Bowden.

383
00:17:41,010 --> 00:17:42,890
Sa a se Anita.

384
00:17:42,890 --> 00:17:44,033
Ak sa ki non ou?

385
00:17:44,033 --> 00:17:44,800
>> Kiersten: Kiersten

386
00:17:44,800 --> 00:17:46,020
>> DAVID J. Malan: Kiersten.

387
00:17:46,020 --> 00:17:49,790
Kiersten, vini sou yo ak
satisfè Rob Bowden ak Anita.

388
00:17:49,790 --> 00:17:51,036
Nice al kontre ou.

389
00:17:51,036 --> 00:17:52,160
Kiersten: Nice al kontre ou.

390
00:17:52,160 --> 00:17:53,368
DAVID J. Malan: Oke, Rob.

391
00:17:53,368 --> 00:17:54,650
ROB BOWDEN: Nice al kontre ou.

392
00:17:54,650 --> 00:17:55,566
DAVID J. Malan: Anita.

393
00:17:55,566 --> 00:17:56,520
Kiersten: Hi Anita.

394
00:17:56,520 --> 00:17:58,686
DAVID J. Malan: Lè ou
plizyè santèn kamarad klas yo.

395
00:17:58,686 --> 00:18:02,490
Se konsa, kounye a kite m 'ale pi devan epi rale
moute jis yon pwogram senp isit la

396
00:18:02,490 --> 00:18:05,690
sou Mac OS ki pral kite m '
aktyèlman ekrir kèk nòt desann.

397
00:18:05,690 --> 00:18:09,570
Men, si ou nèg vle chak pran yon
pozisyon nan youn nan lekòl sa yo gen,

398
00:18:09,570 --> 00:18:16,360
kite m 'ale pi devan epi kòmanse yon lis
nan pseudocode Kòd, si ou vle.

399
00:18:16,360 --> 00:18:19,970
Epi ki sa mwen vle fè isit la,
finalman se tip pou ou

400
00:18:19,970 --> 00:18:22,470
kèk enstriksyon ki nou an
moun nan piblik yo aktyèlman

401
00:18:22,470 --> 00:18:23,569
ale nan resite pou nou.

402
00:18:23,569 --> 00:18:25,860
Kite m 'ale pi devan ak jis
chanje sa a nan yon lis resansman

403
00:18:25,860 --> 00:18:27,720
matche ak sa nou te fè moute a.

404
00:18:27,720 --> 00:18:30,990
Ak sa ki, mwen pral fè ak
èd ou, se ekri yon pwogram

405
00:18:30,990 --> 00:18:34,620
nan pseudocode, ak ki
mesye sa yo yo ale

406
00:18:34,620 --> 00:18:38,150
aplike yon pistach
bè ak sandwich jele.

407
00:18:38,150 --> 00:18:40,880
Se konsa, li petèt oporten
montre yon bagay kèk nan nou

408
00:18:40,880 --> 00:18:44,560
ta ka gen pou wè sou entènèt la
pou jis yon kout moman sa anmèdan.

409
00:18:44,560 --> 00:18:47,650
>> [MUSIC BUCKEWHEAT BOYS, "manba
 Jele TIME "]

410
00:18:47,650 --> 00:19:08,119

411
00:19:08,119 --> 00:19:08,910
DAVID J. Malan: OK.

412
00:19:08,910 --> 00:19:10,050
Sa a ase nan sa.

413
00:19:10,050 --> 00:19:12,690
Se konsa, isit pandan se tan, mwen gen yon
pè nan Google Linèt ki

414
00:19:12,690 --> 00:19:16,500
, nou pral mete sou CS50 nan pwòp Rob Bowden
yo wè mond lan nan je l 'yo.

415
00:19:16,500 --> 00:19:19,140
Epitou, n ap fè pi byen nou nan post
pwodiksyon yo aktyèlman mare

416
00:19:19,140 --> 00:19:23,100
pye a nan sa ki Rob se wè
kounye a, nan sa a konferans aktyèl

417
00:19:23,100 --> 00:19:26,420
videyo ak de nou an
volontè bò kote l '.

418
00:19:26,420 --> 00:19:28,480
Se konsa, sa mwen pral fè
se, Mwen pral daktilograf la.

419
00:19:28,480 --> 00:19:31,849
Nou gen objektif la isit la nan
aktyèlman ekri yon pwogram

420
00:19:31,849 --> 00:19:34,640
ak ki fè, finalman, yon
manba ak sandwich manba ak konfiti,

421
00:19:34,640 --> 00:19:37,680
men sa yo twa yo ale nan konpòte
tankou si yo menm yo òdinatè.

422
00:19:37,680 --> 00:19:40,638
Ak òdinatè, nan fen jounen an,
yo aktyèlman aparèy trè bèbè.

423
00:19:40,638 --> 00:19:44,432
Yo ap Super vit, men yo kapab sèlman
fè, literalman, sa y ap di.

424
00:19:44,432 --> 00:19:46,890
Ou pa ka jis di fè yon pistach
bè ak sandwich jele.

425
00:19:46,890 --> 00:19:48,640
Ou gen nan pwogram yo fè sa.

426
00:19:48,640 --> 00:19:51,420
Ou gen di yo
avèk presizyon sa ki fè,

427
00:19:51,420 --> 00:19:54,400
mwens bagay sa yo ale oribleman, epi,
èspere ke, amusant courbe.

428
00:19:54,400 --> 00:19:57,460
>> Se konsa, avèk ki te di, nou bezwen
yon sèl rele-soti soti nan odyans lan

429
00:19:57,460 --> 00:19:59,440
pou sa ki ta dwe etap
youn dwe, si objektif la isit la

430
00:19:59,440 --> 00:20:01,356
se fè yon pistach
bè ak sandwich jele.

431
00:20:01,356 --> 00:20:01,910
Wi?

432
00:20:01,910 --> 00:20:03,647
>> ODYANS: [fèbl] sak la nan pen.

433
00:20:03,647 --> 00:20:05,230
DAVID J. Malan: Louvri sak la nan pen.

434
00:20:05,230 --> 00:20:08,360
Se konsa, si twa konpetitè yo ta
renmen pou li ale nan fè sa literalman.

435
00:20:08,360 --> 00:20:12,394
Louvri sak la nan pen.

436
00:20:12,394 --> 00:20:15,810
>> [ODYANS ri]

437
00:20:15,810 --> 00:20:20,717

438
00:20:20,717 --> 00:20:22,300
DAVID J. Malan: Se konsa, kite la travay sou sa.

439
00:20:22,300 --> 00:20:23,180
Tout dwa.

440
00:20:23,180 --> 00:20:25,400
Se konsa, etap de, how--
kite a pran sa a pi lwen.

441
00:20:25,400 --> 00:20:26,480
Yeah, nan devan an.

442
00:20:26,480 --> 00:20:27,240
>> ODYANS: [fèbl] pen an.

443
00:20:27,240 --> 00:20:27,735
>> DAVID J. Malan: Ki sa ki nan sa?

444
00:20:27,735 --> 00:20:28,836
>> ODYANS: Retire pen an.

445
00:20:28,836 --> 00:20:30,210
DAVID J. Malan: Retire pen an.

446
00:20:30,210 --> 00:20:31,190
Menm jan an tou somèr.

447
00:20:31,190 --> 00:20:33,667
Mèsi poutèt ou.

448
00:20:33,667 --> 00:20:43,777
>> [Aplodisman]

449
00:20:43,777 --> 00:20:44,860
DAVID J. Malan: Sa a li?

450
00:20:44,860 --> 00:20:48,830
OK, se konsa etap de ki pral
yo dwe retire pen an.

451
00:20:48,830 --> 00:20:51,790
Oke, yon moun vle
ekri nou yon fraz pi long?

452
00:20:51,790 --> 00:20:52,640
Yon lòt moun?

453
00:20:52,640 --> 00:20:53,920
Yon ti kras pi plis [fèbl].

454
00:20:53,920 --> 00:20:54,810
Pa gen okenn, pa gen anyen kounye a.

455
00:20:54,810 --> 00:20:56,094
Wi?

456
00:20:56,094 --> 00:20:58,900
>> ODYANS: Mete de
tranch pwochen youn ak lòt.

457
00:20:58,900 --> 00:21:03,575
>> DAVID J. Malan: Mete de
tranch pwochen youn ak lòt.

458
00:21:03,575 --> 00:21:06,420
>> [ODYANS ri]

459
00:21:06,420 --> 00:21:09,590
>> DAVID J. Malan: Mete de
tranch pwochen youn ak lòt.

460
00:21:09,590 --> 00:21:11,334
Etap kat.

461
00:21:11,334 --> 00:21:12,816
Wi?

462
00:21:12,816 --> 00:21:14,792
>> ODYANS: Pran ou
men yo mete l 'léjèrman

463
00:21:14,792 --> 00:21:17,756
sou tèt kouvèti a manba.

464
00:21:17,756 --> 00:21:19,710
>> [ODYANS ri]

465
00:21:19,710 --> 00:21:21,710
ODYANS: [fèbl]
akote bè an pistach.

466
00:21:21,710 --> 00:21:21,870
DAVID J. Malan: Ki sa?

467
00:21:21,870 --> 00:21:22,520
Di sa ankò.

468
00:21:22,520 --> 00:21:26,308
>> ODYANS: Devise kouvèti a, li mete
li dousman akote bè an pistach.

469
00:21:26,308 --> 00:21:31,490
>> DAVID J. Malan: Mete l 'dousman
akote bè an pistach.

470
00:21:31,490 --> 00:21:37,770

471
00:21:37,770 --> 00:21:40,090
OK, pwogrè.

472
00:21:40,090 --> 00:21:41,080
Etap senk.

473
00:21:41,080 --> 00:21:42,380
Ekselan.

474
00:21:42,380 --> 00:21:43,261
Wi?

475
00:21:43,261 --> 00:21:44,163
>> Ranmase kouto.

476
00:21:44,163 --> 00:21:46,380

477
00:21:46,380 --> 00:21:47,630
DAVID J. Malan: Ranmase kouto.

478
00:21:47,630 --> 00:21:52,320

479
00:21:52,320 --> 00:21:53,631
OK, etap sis.

480
00:21:53,631 --> 00:21:54,130
Yeah?

481
00:21:54,130 --> 00:21:56,237
>> ODYANS: Kenbe kouto nan manch lan.

482
00:21:56,237 --> 00:21:57,945
DAVID J. Malan: Kenbe
kouto nan manch lan.

483
00:21:57,945 --> 00:22:00,710

484
00:22:00,710 --> 00:22:03,230
Kenbe kouto nan manch lan.

485
00:22:03,230 --> 00:22:04,880
Etap sèt.

486
00:22:04,880 --> 00:22:05,692
Wi?

487
00:22:05,692 --> 00:22:10,030
>> ODYANS: [fèbl] kouto nan pistach
bè ak tankou ti soti [fèbl].

488
00:22:10,030 --> 00:22:13,070
>> DAVID J. Malan: Mete kouto in-- mwen
tande "mete kouto nan manba

489
00:22:13,070 --> 00:22:19,500
ak pran tankou ti soti ke posib. "

490
00:22:19,500 --> 00:22:22,480
By wout la, retire papye a an premye.

491
00:22:22,480 --> 00:22:29,320

492
00:22:29,320 --> 00:22:31,890
Tout dwa, etap nèf.

493
00:22:31,890 --> 00:22:34,910
Etap nèf.

494
00:22:34,910 --> 00:22:35,624
Etap nèf.

495
00:22:35,624 --> 00:22:37,290
Nou pa t 'aktyèlman te fè yon sandwich ankò.

496
00:22:37,290 --> 00:22:37,790
Wi?

497
00:22:37,790 --> 00:22:41,570
ODYANS: Sèvi ak kouto nan manba,
aplike manba sou di pen.

498
00:22:41,570 --> 00:22:47,440
>> DAVID J. Malan: Sèvi ak kouto nan
manba, aplike manba sou

499
00:22:47,440 --> 00:22:48,736
di pen.

500
00:22:48,736 --> 00:22:56,030
>> [ODYANS ri]

501
00:22:56,030 --> 00:22:59,480
DAVID J. Malan: Tout etap dwa 10.

502
00:22:59,480 --> 00:23:01,762
Etap 10.

503
00:23:01,762 --> 00:23:02,750
Wi?

504
00:23:02,750 --> 00:23:05,220
>> ODYANS: Gou pistach
bè asire bon jan kalite.

505
00:23:05,220 --> 00:23:15,960
>> [ODYANS ri]

506
00:23:15,960 --> 00:23:16,960
DAVID J. Malan: Etap 11.

507
00:23:16,960 --> 00:23:19,500

508
00:23:19,500 --> 00:23:21,340
Etap 11.

509
00:23:21,340 --> 00:23:22,101
Etap 11.

510
00:23:22,101 --> 00:23:22,600
Vini non sou.

511
00:23:22,600 --> 00:23:23,099
Yeah?

512
00:23:23,099 --> 00:23:24,208
Dwa gen.

513
00:23:24,208 --> 00:23:25,840
>> ODYANS: Ak anpil atansyon ranmase jele.

514
00:23:25,840 --> 00:23:28,220
>> DAVID J. Malan: Ak anpil atansyon ranmase jele.

515
00:23:28,220 --> 00:23:29,970
OK, ak Lè sa a yon lòt bò te moute.

516
00:23:29,970 --> 00:23:32,812

517
00:23:32,812 --> 00:23:33,520
Dwa dèyè ou.

518
00:23:33,520 --> 00:23:35,761
Yeah, nan ble.

519
00:23:35,761 --> 00:23:40,671
>> ODYANS: Tout dwa, retire
kouvèti ki soti nan [fèbl], yeah,

520
00:23:40,671 --> 00:23:42,635
retire kouvèti ki soti nan jele la.

521
00:23:42,635 --> 00:23:43,617
>> [ODYANS ri]

522
00:23:43,617 --> 00:23:44,742
>> DAVID J. Malan: Soti nan jele.

523
00:23:44,742 --> 00:23:45,581
Ha ha.

524
00:23:45,581 --> 00:23:48,967
>> [ODYANS ri]

525
00:23:48,967 --> 00:23:49,800
DAVID J. Malan: Lè?

526
00:23:49,800 --> 00:23:52,490
ODYANS: Lè apèn
bale nenpòt ki [fèbl].

527
00:23:52,490 --> 00:23:59,536
[ODYANS ri]

528
00:23:59,536 --> 00:24:04,456
ODYANS: Natirèlman, anvan [fèbl],
retire papye ki soti nan jele.

529
00:24:04,456 --> 00:24:06,940
DAVID J. Malan: Retire papye soti nan jele.

530
00:24:06,940 --> 00:24:08,229
Etap 14.

531
00:24:08,229 --> 00:24:09,020
Nou prèske la.

532
00:24:09,020 --> 00:24:09,857
Wi?

533
00:24:09,857 --> 00:24:12,600
>> ODYANS: Invert boutèy jele
anvan tout bagay tonbe soti.

534
00:24:12,600 --> 00:24:16,515
>> DAVID J. Malan: Invert jele
boutèy anvan jele tonbe soti.

535
00:24:16,515 --> 00:24:19,070

536
00:24:19,070 --> 00:24:19,890
Etap 15.

537
00:24:19,890 --> 00:24:21,130
>> ODYANS: Ranplase bouchon an.

538
00:24:21,130 --> 00:24:22,463
>> DAVID J. Malan: Ranplase bouchon an.

539
00:24:22,463 --> 00:24:25,880

540
00:24:25,880 --> 00:24:28,190
Etap 16.

541
00:24:28,190 --> 00:24:28,931
Yeah?

542
00:24:28,931 --> 00:24:29,806
>> ODYANS: [fèbl]

543
00:24:29,806 --> 00:24:34,109

544
00:24:34,109 --> 00:24:35,400
DAVID J. Malan: Di sa ankò.

545
00:24:35,400 --> 00:24:38,100
ODYANS: Pran bouchon koupe nan jele ou.

546
00:24:38,100 --> 00:24:39,650
DAVID J. Malan: Off jele ou.

547
00:24:39,650 --> 00:24:43,720

548
00:24:43,720 --> 00:24:49,510
Se konsa, really-- Wouch.

549
00:24:49,510 --> 00:24:50,420
Vini non sou.

550
00:24:50,420 --> 00:24:51,740
Ranplase bouchon an.

551
00:24:51,740 --> 00:24:56,660
Mete cap-- Ou te di
retire bouchon soti nan jele.

552
00:24:56,660 --> 00:24:58,950
Santi tankou nou ap nan yon ti jan nan yon bouk.

553
00:24:58,950 --> 00:24:59,640
Etap 17.

554
00:24:59,640 --> 00:25:00,398
Wi?

555
00:25:00,398 --> 00:25:02,639
>> ODYANS: [fèbl]

556
00:25:02,639 --> 00:25:03,930
DAVID J. Malan: Di sa ankò.

557
00:25:03,930 --> 00:25:05,150
ODYANS: [fèbl]

558
00:25:05,150 --> 00:25:07,835
DAVID J. Malan: Tounen nan step--

559
00:25:07,835 --> 00:25:10,110
ODYANS: [fèbl]

560
00:25:10,110 --> 00:25:13,760
DAVID J. Malan: Retire
bouchon soti nan manba.

561
00:25:13,760 --> 00:25:14,492
Wi?

562
00:25:14,492 --> 00:25:16,430
>> ODYANS: Drop nan tout
jele sou pen an.

563
00:25:16,430 --> 00:25:19,040
>> DAVID J. Malan: Drop tout
jele nan sou pen an.

564
00:25:19,040 --> 00:25:25,372

565
00:25:25,372 --> 00:25:26,830
DAVID J. Malan: Nou se prèske la.

566
00:25:26,830 --> 00:25:27,800
Etap 19.

567
00:25:27,800 --> 00:25:30,250
>> ODYANS: Retire depase jele.

568
00:25:30,250 --> 00:25:31,720
>> DAVID J. Malan: Haha, jele.

569
00:25:31,720 --> 00:25:36,615
>> [Aplodisman]

570
00:25:36,615 --> 00:25:39,240
DAVID J. Malan: Poukisa nou pa we--
yon sèl etap plis yo pran kay sa a.

571
00:25:39,240 --> 00:25:41,720
Youn nan pi plis etap ak Lè sa a,
nou pral sèvi sandwich.

572
00:25:41,720 --> 00:25:42,900
Wi?

573
00:25:42,900 --> 00:25:45,570
>> ODYANS: [fèbl]

574
00:25:45,570 --> 00:25:50,704
>> DAVID J. Malan: Pandan ke nenpòt ki sandwich
indent remains-- Ann this-- manje.

575
00:25:50,704 --> 00:25:56,400
>> [ODYANS Ri]

576
00:25:56,400 --> 00:26:00,395
>> DAVID J. Malan: Tout dwa, mèsi
ou a volontè nou isit la.

577
00:26:00,395 --> 00:26:06,150
>> [Aplodisman}

578
00:26:06,150 --> 00:26:08,940
>> DAVID J. Malan: Nou gen kèk bèl
separe kado pou chak nan nou.

579
00:26:08,940 --> 00:26:14,350
Pwòp ou a manba, manba ak konfiti,
ak pen yo pote tounen lakay ou.

580
00:26:14,350 --> 00:26:15,774
Mèsi poutèt ou.

581
00:26:15,774 --> 00:26:17,118
>> Kiersten: Mèsi.

582
00:26:17,118 --> 00:26:18,618
DAVID J. Malan: [fèbl] akeyi.

583
00:26:18,618 --> 00:26:21,849
[Aplodisman]

584
00:26:21,849 --> 00:26:24,390
DAVID J. Malan: Se konsa, sa a se, nan
kou, yon egzanp ridikil.

585
00:26:24,390 --> 00:26:24,890
Dwa?

586
00:26:24,890 --> 00:26:28,890
Men, li kalite revele ki jan nou
moun jis pran clarté pou yo akòde.

587
00:26:28,890 --> 00:26:30,890
Ak lefèt Mwen te
pale nan yon lòt moun,

588
00:26:30,890 --> 00:26:33,300
li oswa li te jis konnen sa ou vle di.

589
00:26:33,300 --> 00:26:35,220
>> Odinatè yo pa pral
konnen ki sa ou vle di,

590
00:26:35,220 --> 00:26:37,430
menm lè l sèvi avèk, osi
nou ap sou yo fè jodi a,

591
00:26:37,430 --> 00:26:42,300
pwogramasyon yon bagay nan grafouyen, yon trennen
ak gout, devinèt moso style lang.

592
00:26:42,300 --> 00:26:44,310
Menm fèt pou jèn
timoun yo, ou gen

593
00:26:44,310 --> 00:26:48,726
yo dwe tèlman eksplisit e konsa literal ak
sa ou vle pwogram ou an fè.

594
00:26:48,726 --> 00:26:50,600
Koulye a, finalman, nou ap
pral fè pwogramasyon

595
00:26:50,600 --> 00:26:53,550
pa nan Kòd pseudocode,
Angle tankou sentaks,

596
00:26:53,550 --> 00:26:56,370
men Kòd oswa, plis byen, kòd sous.

597
00:26:56,370 --> 00:26:59,260
Sous Kòd se jis fason an anpenpan
pou dekri Kòd ou aktyèlman

598
00:26:59,260 --> 00:27:01,730
ekri ak yon klavye sa a, se
pa nan lang angle se pou chak.

599
00:27:01,730 --> 00:27:06,480
Li nan nan C oswa Java oswa C ++ oswa yon bagay
tankou sa yo, menm jan nou pral byento wè.

600
00:27:06,480 --> 00:27:09,510
>> Ak nan reyalite, jis fè pè yon
kèk nan nou, nan premye gade,

601
00:27:09,510 --> 00:27:13,769
sa a se yon pwogram ekri nan yon lang
rele C. Men, yo un-fè pè yon kèk nan nou,

602
00:27:13,769 --> 00:27:15,560
ou pral konplètman
konprann sa k ap pase

603
00:27:15,560 --> 00:27:18,980
sou vini Lendi pwochen lè li
vini nan yon bagay tankou sa a.

604
00:27:18,980 --> 00:27:20,510
Franchman, sa a se yon lang ki pi gran.

605
00:27:20,510 --> 00:27:22,430
Li nan san patipri Esoteric,
men li la reprezantan

606
00:27:22,430 --> 00:27:26,120
nan yon anpil nan lang jou sa yo ki
gen anpil bagay nan parantèz ak Curly

607
00:27:26,120 --> 00:27:28,630
aparèy òtopedik ak quote mak ak virgules.

608
00:27:28,630 --> 00:27:30,780
Ak yon anpil nan sa a
Massachusetts Institute of Technology bagay ki pa

609
00:27:30,780 --> 00:27:32,450
nan tout entelektyèlman enteresan.

610
00:27:32,450 --> 00:27:35,790
Vreman vre, li nan yon distraksyon prononcée
soti nan lide yo trè senp

611
00:27:35,790 --> 00:27:37,370
ke yo fikse nou nan figi an.

612
00:27:37,370 --> 00:27:41,760
Pwogram sa a, jan ou ta ka jis devine,
simagri ekran òdinatè yon moun nan

613
00:27:41,760 --> 00:27:44,070
mo yo "mond Bonjou vigil."

614
00:27:44,070 --> 00:27:44,860
Sa a li.

615
00:27:44,860 --> 00:27:46,580
Se konsa, byen klè, gen nan
yon anpil nan bagay sa a, se

616
00:27:46,580 --> 00:27:48,970
ap resevwa nan chemen an nan
kèk evid a,

617
00:27:48,970 --> 00:27:52,490
men li k ap pase yo trè byen vit glise
lwen yo epi yo dwe konplètman entwisyon.

618
00:27:52,490 --> 00:27:55,617
>> Vreman vre, ki sa nou ap ale nan fè
jodi a se distile sa a san patipri konplèks

619
00:27:55,617 --> 00:27:58,950
kap pwogram, ki ankò ou pral vin
yo konprann byen vit, men nan yon bagay

620
00:27:58,950 --> 00:27:59,710
pi senpl.

621
00:27:59,710 --> 00:28:01,640
Kite yo jis di sa nou vle di.

622
00:28:01,640 --> 00:28:05,590
Se pou yo desine yon foto nan ki sa nou vle di,
pa fason pou pyès sa yo devinèt isit la.

623
00:28:05,590 --> 00:28:09,110
>> Se konsa, sa a se yon pwogram
lang li te ye tankou grafonyen moun.

624
00:28:09,110 --> 00:28:11,080
Li te devlope pa MIT Media Lab la.

625
00:28:11,080 --> 00:28:14,830
Ak ki sa ou pral wè nan pwoblèm mete zewo,
ki pral lage pita aswè a,

626
00:28:14,830 --> 00:28:18,980
nou pral gen ou ale nan sa a
URL isit la scratch.mit.edu.

627
00:28:18,980 --> 00:28:20,940
Apre sa, yo gen yon sit entènèt
baze koòdone via ki

628
00:28:20,940 --> 00:28:22,540
ou pral ekri pwogram premye ou.

629
00:28:22,540 --> 00:28:25,330
Oswa moun nan nou ak anvan
eksperyans, pwogram dezyèm ou a,

630
00:28:25,330 --> 00:28:28,090
men nan yon anviwònman ki sa a, se
pwobableman yon ti kras abitye e ke

631
00:28:28,090 --> 00:28:32,930
ap pouse ou yo kreye yon bagay
lè l sèvi avèk sa a anviwònman trè vizyèl.

632
00:28:32,930 --> 00:28:35,940
>> Koulye a, ki sa mwen pral fè isit la
se louvri moute pwogram lan tèt li.

633
00:28:35,940 --> 00:28:41,911
Li egziste pa sèlman kòm yon navigatè entènèt,
men tou, kòm yon pwogram Downloadable

634
00:28:41,911 --> 00:28:44,660
pou ke ou ka aktyèlman sèvi ak li
si ou pa gen aksè entènèt.

635
00:28:44,660 --> 00:28:46,743
Men, mwen pral fè sa
nan isit la, nan Sanders, jis

636
00:28:46,743 --> 00:28:49,580
nan ka Wi-Fi a pa fè sa
kolabore super byen.

637
00:28:49,580 --> 00:28:52,640
Ak sa ki, mwen pral fè se pwen
soti yon karakteristik kèk nan pwogram sa a.

638
00:28:52,640 --> 00:28:55,720
Se konsa, yo dwe klè, mwen gen jis doub
klike icon a sou Desktop m 'yo,

639
00:28:55,720 --> 00:28:59,830
oswa équivalant ale nan scratch.mit.edu,
ak li a rale moute fenèt sa a.

640
00:28:59,830 --> 00:29:01,650
Sa a se yon anviwònman pwogram.

641
00:29:01,650 --> 00:29:04,110
Li se yon moso nan lojisyèl ki
kèk nan zanmi nou an nan MIT

642
00:29:04,110 --> 00:29:08,850
te ekri ki kite a nou epi ou ekri
pwogram nan yon lang yo rele grafonyen moun.

643
00:29:08,850 --> 00:29:12,010
>> Koulye a, sa k ap pase yo yon
chat ki moun ki nan tou yo te rele grafouyen

644
00:29:12,010 --> 00:29:13,890
ak sa a se mond l 'yo nan kote li lavi.

645
00:29:13,890 --> 00:29:17,175
Sa a se etap la, se konsa yo pale, ki
rektang sou kwen an tèt men gòch.

646
00:29:17,175 --> 00:29:18,800
Apre sa, li pa gen yo gade tankou yon chat.

647
00:29:18,800 --> 00:29:20,591
Ou ka fè l 'gade
tankou anyen, epi ou

648
00:29:20,591 --> 00:29:23,700
ka gen anpil sprites sa yo,
oswa karaktè, nan yon pwogram.

649
00:29:23,700 --> 00:29:27,450
Pandan se tan, sou isit la sou byen lwen nan
dwat, se yon gwo adwaz vid.

650
00:29:27,450 --> 00:29:30,260
Lè sa a se kote, nan yon moman,
nou pral kòmanse pwogram

651
00:29:30,260 --> 00:29:32,750
pa trenen ak jete
sa yo devinèt grafik

652
00:29:32,750 --> 00:29:35,300
moso ki se dwa
isit la nan mitan yo.

653
00:29:35,300 --> 00:29:38,140
Apre sa, nan fason pi plis nan yo pase
nou pral pase tan sou isit la nan klas

654
00:29:38,140 --> 00:29:40,080
paske w ap jwenn ki
yo ap tout san patipri entwisyon.

655
00:29:40,080 --> 00:29:41,788
Yon fwa ankò, li nan fèt
pou timoun yo, men nou

656
00:29:41,788 --> 00:29:45,759
sèvi ak li nan toumante apa kèk nan moun
lide fondamantal nan varyab, pasan,

657
00:29:45,759 --> 00:29:48,050
kondisyon, ak, byento, bagay sa yo
tankou fonksyon ak evènman

658
00:29:48,050 --> 00:29:51,810
ak fil ak lòt bagay anpenpan nou pral
jwenn yo anvan lontan aktyèlman kreye

659
00:29:51,810 --> 00:29:53,840
yon bagay nan men grafonyen moun.

660
00:29:53,840 --> 00:29:54,810
Pun entansyon.

661
00:29:54,810 --> 00:29:58,740
>> Koulye a, ki sa mwen pral fè isit la se
klike sou pa mouvman, men kontwòl.

662
00:29:58,740 --> 00:30:01,400
Lè sa a se jis yon
klasifikasyon nan here--

663
00:30:01,400 --> 00:30:03,150
ak Mwen wè yon diferan
koulè mete nan blòk.

664
00:30:03,150 --> 00:30:05,030
Men, remake yon kèk mo yo konnen yo.

665
00:30:05,030 --> 00:30:07,830
"Si" ak "lòt moun si" ak "repete."

666
00:30:07,830 --> 00:30:10,440
Epi ou ka pwobableman devine
sa a, se okoumansman de branch lan,

667
00:30:10,440 --> 00:30:12,870
oswa kondisyon yo nou te wè, ak
menm konstwi nan loupin.

668
00:30:12,870 --> 00:30:14,760
Se konsa, nou gen blòk menm jan isit la.

669
00:30:14,760 --> 00:30:16,720
Men, ki pi enteresan an
se yon sèl yon sèl sa a isit la.

670
00:30:16,720 --> 00:30:20,690
Lè yo vèt drapo sa a klike,
sa a, pou moun ki gen anvan pwogramasyon

671
00:30:20,690 --> 00:30:23,110
eksperyans, ki ekivalan
nan yon fonksyon prensipal la.

672
00:30:23,110 --> 00:30:25,300
Men, pou moun ki abitye,
sa a se moso nan devinèt

673
00:30:25,300 --> 00:30:27,320
ki pral choute kòmanse pwogram tout nou an.

674
00:30:27,320 --> 00:30:31,350
Li literalman vle di lè m 'ale, nan ka sa
pwogram, epi klike sou yon flag-- vèt

675
00:30:31,350 --> 00:30:35,560
ki ou ka wè moute isit la nan a
tèt kwen men gòch nan UI a,

676
00:30:35,560 --> 00:30:38,570
se konsa wè drapo a vèt
akote siy nan arè wouj?

677
00:30:38,570 --> 00:30:41,475
Lè mwen klike sou sa, m '
pwogram ki pral kouri.

678
00:30:41,475 --> 00:30:43,850
Koulye a, mwen pral fè yon bagay
super senp ak grafonyen moun.

679
00:30:43,850 --> 00:30:46,640
Mwen pral ale pi devan
epi ale nan panèl la sanble

680
00:30:46,640 --> 00:30:50,010
isit la, kote mwen gen yon pakèt moun
nan moso devinèt koulè wouj violèt,

681
00:30:50,010 --> 00:30:53,887
ak mwen pral ale pi devan epi fè
yon bagay super senp tankou, di.

682
00:30:53,887 --> 00:30:55,720
Ak avi then-- sa a
tèks nan ti bwat la blan

683
00:30:55,720 --> 00:30:59,290
se editable-- mwen pral di
"Alo mond," jis tankou nou

684
00:30:59,290 --> 00:31:01,470
te fè nan ki textuelle
vèsyon yon ti moman de sa.

685
00:31:01,470 --> 00:31:05,920
Epi, koulye a si m 'ale, epi klike sa a
drapo vèt, mwen te kounye a pwograme.

686
00:31:05,920 --> 00:31:07,810
Li pa yon patikilyèman
pwogram enteresan,

687
00:31:07,810 --> 00:31:09,760
men mwen te fè òdinatè a fè yon bagay.

688
00:31:09,760 --> 00:31:13,120
Mwen te kòmanse yon pwogram epi li
te fè sa m 'te di l' fè.

689
00:31:13,120 --> 00:31:16,170
Koulye a, mwen ka kontinye trennen ak gout
pi plis ak plis nan moso devinèt sa yo

690
00:31:16,170 --> 00:31:19,220
epi yo ap ale nan antidemaraj, men
kite la kalòt kèk tèminoloji sou isit la

691
00:31:19,220 --> 00:31:21,680
ki nou pral wè renouvlab
nan tout kou a,

692
00:31:21,680 --> 00:31:24,610
ak reyèlman nan tout syans òdinatè
ak pwogramasyon plis jeneralman.

693
00:31:24,610 --> 00:31:27,990
>> Sa a "di" blòk, nan koulè wouj violèt, se pou yo
jis kòmanse rele yon deklarasyon.

694
00:31:27,990 --> 00:31:29,240
Se tankou yon deklarasyon sou reyalite.

695
00:31:29,240 --> 00:31:30,380
Fè sa.

696
00:31:30,380 --> 00:31:32,590
Se konsa, li nan yon kategori nan
enstriksyon ke ou

697
00:31:32,590 --> 00:31:36,760
ta ka nouri yon òdinatè kòm yon pati
nan yon pwogram oswa yon algorithm.

698
00:31:36,760 --> 00:31:39,270
Epi yo dwe klè, ou te
pwobableman pran pou yo akòde

699
00:31:39,270 --> 00:31:41,930
ki di ou gen pwogram sou òdinatè ou.

700
00:31:41,930 --> 00:31:45,850
E yo ap kalite algoritm, men yon
pwogram se reyèlman yon pakèt moun sou algoritm

701
00:31:45,850 --> 00:31:47,160
ke kèk moun te ekri.

702
00:31:47,160 --> 00:31:49,040
Yo pake li leve, li
yo te vann li pou ou,

703
00:31:49,040 --> 00:31:51,330
oswa yo afiche sou yon sit entènèt
pou ou pou w download.

704
00:31:51,330 --> 00:31:54,930
Se konsa, yon pwogram se jis yon
pakèt antye nan zewo ak moun yo

705
00:31:54,930 --> 00:31:56,970
ki, yon jan kanmenm, moun kreye.

706
00:31:56,970 --> 00:32:00,080
Ak moun ki modèl nan zewo ak
yo menm reprezante bagay sa yo, finalman,

707
00:32:00,080 --> 00:32:04,030
tankou "di alo mond" oswa "jwe
mizik sa a "oswa" jwe videyo sa a "

708
00:32:04,030 --> 00:32:05,129
oswa "voye yon imèl."

709
00:32:05,129 --> 00:32:06,920
Men, nou pral tounen vin nan
fason plis detay sa

710
00:32:06,920 --> 00:32:08,780
yon pwogram, se lè ou,
tèt ou, ekri yo.

711
00:32:08,780 --> 00:32:11,320
>> Isit la nan yon lòt statement--
"Rete tann pou yon dezyèm fwa."

712
00:32:11,320 --> 00:32:14,330
Mwen pa t 'sèvi ak sa a ankò, men si mwen vle
pwogram m 'pran yon poz pou yon moman

713
00:32:14,330 --> 00:32:16,540
fè yon bagay, mwen ka di li yo fè sa.

714
00:32:16,540 --> 00:32:18,450
Rete tann yon dezyèm fwa.

715
00:32:18,450 --> 00:32:20,150
Koulye a, yon lòt yon sèl ta kapab "jwe son."

716
00:32:20,150 --> 00:32:23,270
Se konsa, sa a se inik nan grafouyen, li
gen kapasite nan jwe son.

717
00:32:23,270 --> 00:32:26,130
Se konsa, yon deklarasyon mwen ta ka
itilize se, isit la, "jwe son."

718
00:32:26,130 --> 00:32:29,530
Pandan se tan, ekspresyon Boolean,
kidonk sa a se yon mo amateur

719
00:32:29,530 --> 00:32:34,490
rele apre jis yon nèg yo te rele Mesye bouleen,
ak sa a se tout sou yon kesyon.

720
00:32:34,490 --> 00:32:37,470
Vre oubyen fo se sourit la desann?

721
00:32:37,470 --> 00:32:41,100
Yon ekspresyon Boolean se jis
kèk ekspresyon nan lang angle

722
00:32:41,100 --> 00:32:42,860
ki se swa vre oubyen fo.

723
00:32:42,860 --> 00:32:44,140
Swa karaktè limen oubyen etenn.

724
00:32:44,140 --> 00:32:45,130
Swa youn oswa zewo.

725
00:32:45,130 --> 00:32:46,960
Ou ka panse a li
nan nenpòt ki kantite fason,

726
00:32:46,960 --> 00:32:49,220
men li la swa vre oubyen
sa a fo, finalman.

727
00:32:49,220 --> 00:32:52,540
Se konsa, "sourit desann kesyon mak,"
ki ta ka yon ekspresyon Boolean.

728
00:32:52,540 --> 00:32:54,300
Epi ou ka panse a lòt moun, petèt.

729
00:32:54,300 --> 00:32:57,510
Pou egzanp, "se nimewo a kite
mwens pase nimewo a dwa? "

730
00:32:57,510 --> 00:32:59,410
Sa, tou, ta dwe
yon ekspresyon Boolean.

731
00:32:59,410 --> 00:33:01,540
"Mwens pase" se yon ekspresyon Boolean.

732
00:33:01,540 --> 00:33:03,280
>> Sa a yon sèl, tou, "manyen konsèy sourit."

733
00:33:03,280 --> 00:33:05,196
Mwen pa si poukisa yo
li rele l 'sourit konsèy.

734
00:33:05,196 --> 00:33:08,430
Li jis vle di, se kurseur a, se nan
flèch sou ekran an, manyen chat la,

735
00:33:08,430 --> 00:33:09,022
pou egzanp.

736
00:33:09,022 --> 00:33:10,480
Oswa kèk lòt aspè nan ekran an.

737
00:33:10,480 --> 00:33:13,710
Lè li nan yon kesyon, ankò, epi
ki vle di yon ekspresyon Boolean.

738
00:33:13,710 --> 00:33:17,130
Yon bagay ke ou ta ka
vle sèvi ak nan yon kondisyon.

739
00:33:17,130 --> 00:33:19,100
Se konsa, nou pral vini nan ki nan jis yon ti moman.

740
00:33:19,100 --> 00:33:20,350
Ou kapab "ak" bagay sa yo ansanm.

741
00:33:20,350 --> 00:33:23,099
Se konsa, si ou vle tcheke si sa a
se ka a e ke se ka a,

742
00:33:23,099 --> 00:33:25,580
ou ka itilize yon "ak" blòk tankou sa a.

743
00:33:25,580 --> 00:33:26,850
Ak isit la a ki kondisyon.

744
00:33:26,850 --> 00:33:31,290
Avi fòm nan ouvèti a ti kras
nan tèt la nan pyès sa a devinèt jòn,

745
00:33:31,290 --> 00:33:34,480
li a okoumansman de fòm nan
ke nou jis te wè yon ti moman de sa.

746
00:33:34,480 --> 00:33:37,920
Chak kote sa yo ekspresyon Boolean
gen sa yo bor pwente

747
00:33:37,920 --> 00:33:39,030
sou bò gòch la ak dwa.

748
00:33:39,030 --> 00:33:43,140
Epi sa a, paske MIT jan deside
ki pa vizyèlman pas fòm,

749
00:33:43,140 --> 00:33:45,780
ou ka kalite ede moun,
elèv yo ak timoun sanble,

750
00:33:45,780 --> 00:33:47,650
kalite ranpli nan espas vid yo literalman.

751
00:33:47,650 --> 00:33:49,780
>> Kounye a ke puzzle-- ki
ouvèti se yon ti kras ti,

752
00:33:49,780 --> 00:33:52,750
ak jan nou pral wè nan pwogram nan,
nan grafouyen, li ap grandi nan anfòm.

753
00:33:52,750 --> 00:33:54,830
Li pral kenbe fòm li yo, finalman.

754
00:33:54,830 --> 00:33:58,350
Se konsa, yon kondisyon kite nan ou deside
"Mwen ta dwe fè yon bagay oswa ou pa?"

755
00:33:58,350 --> 00:34:00,470
Yon ekspresyon Boolean
se kesyon an aktyèl

756
00:34:00,470 --> 00:34:04,100
w ap sèvi ak deside m 'ale nan
gòch la oswa mwen ale a dwat a

757
00:34:04,100 --> 00:34:06,710
lè mwen kontre sa a
sa yo rele fouchèt nan wout la?

758
00:34:06,710 --> 00:34:07,980
Ou ka gen de branch.

759
00:34:07,980 --> 00:34:10,909
Si gen yon bagay se vre, fè
sa a, lòt moun ale fason sa a,

760
00:34:10,909 --> 00:34:14,590
oswa ou ka jis pa fè anyen nan
tout moun, jan sa a blòk enplisit.

761
00:34:14,590 --> 00:34:16,360
Menm jan an tou, nou kapab fè nich bagay sa yo.

762
00:34:16,360 --> 00:34:20,204
Se konsa, si ou vle trip fouchèt nan la
wout, swa fè sa a oswa sa a oswa ki,

763
00:34:20,204 --> 00:34:21,870
ou ka jis nich bagay sa yo ansanm.

764
00:34:21,870 --> 00:34:24,520
Epi li kòmanse yo ka resevwa yon ti kras
lèd, evantyèlman, pou asire w,

765
00:34:24,520 --> 00:34:26,120
men lojik la se toujou menm bagay la.

766
00:34:26,120 --> 00:34:28,000
Ou kapab literalman li
sa a anwo jouk anba

767
00:34:28,000 --> 00:34:33,290
epi li di ki sa li means-- si sa a
se vre, fè sa, lòt moun si lòt bagay.

768
00:34:33,290 --> 00:34:36,179
>> Yon sikui pa jwenn ki pi senp nan grafonyen moun.

769
00:34:36,179 --> 00:34:37,422
Pou tout tan fè bagay sa a.

770
00:34:37,422 --> 00:34:39,880
Koulye a, ou pa ta ka panse ke ou
ka fè anpil paske gen nan pa

771
00:34:39,880 --> 00:34:42,839
anpil espas ant tèt la ak nan
anba nan pyès sa devinèt ouvèti.

772
00:34:42,839 --> 00:34:45,671
Men, ou pral wè grafouyen ki pral
grandi nan anfòm moso devinèt kòm anpil

773
00:34:45,671 --> 00:34:47,060
jan ou vle bachote nan la.

774
00:34:47,060 --> 00:34:48,960
Yon lòt bouk ta kapab
eksprime ak either.

775
00:34:48,960 --> 00:34:51,590
Si ou konnen nan avanse, "Mwen
vle fè yon bagay 10 fwa, "

776
00:34:51,590 --> 00:34:54,010
ou ka jis di Grafouyen
fè yon bagay 10 fwa.

777
00:34:54,010 --> 00:34:57,260
Epi, pandan se tan, nou ka gen varyab.

778
00:34:57,260 --> 00:34:59,572
Se konsa, isit la nan yon yon sèl abitrè,
li nan zoranj nan ka sa a,

779
00:34:59,572 --> 00:35:00,780
ak sa a se yon toune toubouyon.

780
00:35:00,780 --> 00:35:04,540
Yon fwa ankò, ou pral jwenn sa a trè aksesib
yon fwa ou kòmanse montre epi klike.

781
00:35:04,540 --> 00:35:07,930
Mwen te rele n varyab mwen, men mwen
te kapab yo te rele li anyen mwen vle,

782
00:35:07,930 --> 00:35:11,280
ak mwen mete l 'isit la, nan
egzanp sa a abitrè, a zewo.

783
00:35:11,280 --> 00:35:14,250
>> Koulye a, wè yon pwogram tankou alo
lemonn yo se pa tout sa ki irezistib,

784
00:35:14,250 --> 00:35:17,900
kidonk kite a aktyèlman louvri moute yon bagay
ke yon elèv ansyen fè fè yo.

785
00:35:17,900 --> 00:35:23,100
Kite m 'ale pi devan epi louvri moute,
pou egzanp, yon sèl sa a isit la,

786
00:35:23,100 --> 00:35:26,780
pou ki mwen ta renmen
yo gen yon volontè.

787
00:35:26,780 --> 00:35:28,450
Tout dwa, ki jan about-- kite yo ale pi lwen.

788
00:35:28,450 --> 00:35:29,240
Wi, vini sou yo.

789
00:35:29,240 --> 00:35:30,056
Ki sa ki nan non ou?

790
00:35:30,056 --> 00:35:30,635
>> ABBY: Abby.

791
00:35:30,635 --> 00:35:32,010
DAVID J. Malan: Abby, vini sou yo.

792
00:35:32,010 --> 00:35:35,930
Se konsa, èske ou te janm te jwe
jwèt sa a ye anvan an?

793
00:35:35,930 --> 00:35:36,430
ABBY: No

794
00:35:36,430 --> 00:35:37,370
DAVID J. Malan: Tout dwa.

795
00:35:37,370 --> 00:35:38,380
David, bèl al kontre ou.

796
00:35:38,380 --> 00:35:39,620
Vini non sou sou.

797
00:35:39,620 --> 00:35:42,300
Ak sa ki pwogram ou an
jan nou koumanse, si genyen.

798
00:35:42,300 --> 00:35:43,914
>> ABBY: Mwen te aprann kèk C ++.

799
00:35:43,914 --> 00:35:45,580
DAVID J. Malan: Ou te aprann kèk C ++.

800
00:35:45,580 --> 00:35:48,382
Ak sa ki se jwèt ou
jwe background?

801
00:35:48,382 --> 00:35:49,505
>> ABBY: Pa yon anpil.

802
00:35:49,505 --> 00:35:51,130
DAVID J. Malan: OK, se konsa nou pral pran sa.

803
00:35:51,130 --> 00:35:52,700
Se konsa, isit la nan ki jan jwèt la se ale nan travay.

804
00:35:52,700 --> 00:35:54,510
Mwen pral ale pi devan epi
klike sou drapo a vèt, ki

805
00:35:54,510 --> 00:35:55,830
se moute isit la sou bò dwat nan tèt.

806
00:35:55,830 --> 00:35:59,710
Koulye a, predesesè ou a nan klas la
te ban nou kèk enstriksyon isit la.

807
00:35:59,710 --> 00:36:02,306
Ak nan jis yon ti moman, li
di "espas yo kòmanse."

808
00:36:02,306 --> 00:36:03,680
Se konsa, ale pi devan epi frape bar la.

809
00:36:03,680 --> 00:36:05,507
>> COMPUTER GAME: Pikachu.

810
00:36:05,507 --> 00:36:08,340
DAVID J. Malan: Lè objektif yo se yo
trape manje a, kòm repwezante gen

811
00:36:08,340 --> 00:36:09,320
sou bò gòch la.

812
00:36:09,320 --> 00:36:11,388
Men, [fèbl]

813
00:36:11,388 --> 00:36:15,356
>> [GAME Jwe mizik]

814
00:36:15,356 --> 00:36:27,280

815
00:36:27,280 --> 00:36:29,610
>> DAVID J. Malan: aww, byen,
di ou mèsi pou jwe.

816
00:36:29,610 --> 00:36:32,800
Nou gen isit la yon ti kras
separe kado pou ou.

817
00:36:32,800 --> 00:36:35,574
Nou gen CS50 boul estrès,
si ou ta renmen yo chwazi.

818
00:36:35,574 --> 00:36:36,820
Tout dwa, bon al kontre ou.

819
00:36:36,820 --> 00:36:39,680
Mèsi pou vini ak defi.

820
00:36:39,680 --> 00:36:42,410

821
00:36:42,410 --> 00:36:46,910
Se konsa, nou gen plis voye boul estrès, se konsa
kite a fè yon egzanp plis motive.

822
00:36:46,910 --> 00:36:48,150
Yon volontè?

823
00:36:48,150 --> 00:36:50,510
Tout dwa, ki jan sou
dwa isit la nan devan.

824
00:36:50,510 --> 00:36:51,250
Ki sa ki nan non ou?

825
00:36:51,250 --> 00:36:51,660
>> PHILLIP: Phillip.

826
00:36:51,660 --> 00:36:52,660
>> DAVID J. Malan: Phillip.

827
00:36:52,660 --> 00:36:54,530
Vini non sou yo, Phillip.

828
00:36:54,530 --> 00:36:57,340
Se konsa, Phillip a pwal
defye ak yon lòt jwèt

829
00:36:57,340 --> 00:37:00,840
ke yon moun ki te chèf anvan ou
ekri kòm yon pati nan pwoblèm mete zewo,

830
00:37:00,840 --> 00:37:03,510
rele Pi di Jwèt Ivy la.

831
00:37:03,510 --> 00:37:05,980
Epitou, n ap wè nan jis yon
moman sa sa k vle di pa sa a.

832
00:37:05,980 --> 00:37:07,400
Phillip, bèl al kontre ou.

833
00:37:07,400 --> 00:37:09,060
Ki sa ki se background ou a?

834
00:37:09,060 --> 00:37:10,310
PHILLIP: fè yon anpil nan kodaj.

835
00:37:10,310 --> 00:37:11,110
Fè yon ti kras bank, tou.

836
00:37:11,110 --> 00:37:11,570
>> DAVID J. Malan: OK.

837
00:37:11,570 --> 00:37:12,620
Te resevwa yon anpil nan bank, tou.

838
00:37:12,620 --> 00:37:14,230
Epi w'ap di ou te jwe jwèt sa a anvan an?

839
00:37:14,230 --> 00:37:14,730
>> PHILLIP: Non

840
00:37:14,730 --> 00:37:16,438
DAVID J. Malan: Tout
dwa, se konsa isit la nou ale.

841
00:37:16,438 --> 00:37:18,434
Mwen pral ale pi devan
epi klike sou drapo a vèt.

842
00:37:18,434 --> 00:37:24,160
>> [Jwèt mizik]

843
00:37:24,160 --> 00:37:27,770
>> [MUSIC MC HAMMER, "U PA KA MANYEN SA A"]

844
00:37:27,770 --> 00:38:39,790

845
00:38:39,790 --> 00:38:41,635
>> PHILLIP: [fèbl]

846
00:38:41,635 --> 00:38:42,760
DAVID J. Malan: [fèbl]

847
00:38:42,760 --> 00:38:44,740
PHILLIP: [fèbl]

848
00:38:44,740 --> 00:38:49,056
[Ri]

849
00:38:49,056 --> 00:38:50,680
[MUSIC MC HAMMER, "U PA KA MANYEN SA A"]

850
00:38:50,680 --> 00:38:52,660
DAVID J. Malan: [fèbl]
Chari nan li.

851
00:38:52,660 --> 00:38:54,094
PHILLIP: [fèbl]

852
00:38:54,094 --> 00:38:55,135
DAVID J. Malan: Ale pi devan.

853
00:38:55,135 --> 00:39:01,570
[MUSIC MC HAMMER, "U PA KA MANYEN SA A"]

854
00:39:01,570 --> 00:39:15,832

855
00:39:15,832 --> 00:39:16,915
DAVID J. Malan: Tout dwa.

856
00:39:16,915 --> 00:39:18,400
Konpliman.

857
00:39:18,400 --> 00:39:25,150
>> [Aplodisman]

858
00:39:25,150 --> 00:39:27,330
>> DAVID J. Malan: Nou pral
pòs ki sou entènèt aprè sa, konsa

859
00:39:27,330 --> 00:39:29,820
ke ou ka gentan
ak li kòm byen.

860
00:39:29,820 --> 00:39:32,550
Princeton vini leve pwochen, apre sa.

861
00:39:32,550 --> 00:39:35,470
>> Se konsa, kounye a kite a aktyèlman kontinye
yo kòmanse nan grafouyen,

862
00:39:35,470 --> 00:39:39,310
se konsa pale, ak aktyèlman bati moute jouk
nou ka toumante apa kèk nan ide sa yo

863
00:39:39,310 --> 00:39:41,970
epi pou yo jwenn nan yon bagay menm
pi konplèks nan fen an.

864
00:39:41,970 --> 00:39:45,240
Mwen pral ale sou isit la ak mwen pral
ale pi devan epi kreye yon nouvo dosye.

865
00:39:45,240 --> 00:39:47,460
Se konsa, ankò, pwoblèm mete nan ap mache
ou atravè kèk nan etap sa yo.

866
00:39:47,460 --> 00:39:49,300
Men, yo, tout mwen te fè te ale
nan meni an File ak mwen

867
00:39:49,300 --> 00:39:52,760
te di "nouvo," se konsa anpil tankou Microsoft
Word, oswa nenpòt pwogram tankou sa.

868
00:39:52,760 --> 00:39:56,630
>> Li kite yo ale pi devan now-- epi nou
aplike "Alo mond" yon moman de sa,

869
00:39:56,630 --> 00:39:58,410
men kite a fè yon bagay yon ti kras cuter.

870
00:39:58,410 --> 00:40:00,150
Mwen pral moute al evènman yo.

871
00:40:00,150 --> 00:40:02,350
Apre sa, mwen pral fè "lè
vèt drapo klike. "

872
00:40:02,350 --> 00:40:05,830
Lè sa a, mwen pral yo sèvi ak,
pou nou di, yon branch.

873
00:40:05,830 --> 00:40:07,610
Se konsa, mwen pral sèvi ak yon "si" kondisyon.

874
00:40:07,610 --> 00:40:10,940
Ak avi ki jan le pli vit ke mwen jwenn fèmen
nan li, li vle menen ansanm.

875
00:40:10,940 --> 00:40:13,020
Se konsa, mwen kite ale epi li sanklanch ansanm.

876
00:40:13,020 --> 00:40:15,150
Epi, koulye a mwen kapab fè yon bagay ki enteresan.

877
00:40:15,150 --> 00:40:19,150
Si m 'woulo liv atravè isit la, mwen pral
yo wè yon pakèt antye nan blòk.

878
00:40:19,150 --> 00:40:22,620
Si m 'ale nan "done" - kite m' rale in--
gen yon bagay sou varyab.

879
00:40:22,620 --> 00:40:26,160
Si m 'ale nan "mouvman," ou kapab
aparamman vire bagay alantou.

880
00:40:26,160 --> 00:40:28,760
Si m 'ale nan "operatè" -
oh, sa a se enteresan,

881
00:40:28,760 --> 00:40:31,000
Mwen kapab chwazi yon nimewo o aza.

882
00:40:31,000 --> 00:40:34,119
Se pou m 'fè yon bagay ak sèlman
kèk pwobabilite, jis paske.

883
00:40:34,119 --> 00:40:36,160
Mwen pral ale pi devan epi
trennen moso sa a devinèt,

884
00:40:36,160 --> 00:40:37,910
sa a se ke mwens pase
blòk, se konsa li nan jis

885
00:40:37,910 --> 00:40:39,480
"Se nimewo sa a mwens pase ke yon sèl?"

886
00:40:39,480 --> 00:40:42,438
Men, mwen pa vle yon Kòd difisil yon nimewo
paske sa dwe trè gratui.

887
00:40:42,438 --> 00:40:46,270
Se konsa, mwen pral trennen pyès sa a
isit la, ak avi ki jan li sanklanch nan,

888
00:40:46,270 --> 00:40:49,480
e kounye a, kite m 'ale pi devan epi di "si
nimewo a ki nan pran owaza

889
00:40:49,480 --> 00:40:51,820
se mwens pase sis, sa ki annapre yo. "

890
00:40:51,820 --> 00:40:52,790
Koulye a, poukisa mwens pase sis?

891
00:40:52,790 --> 00:40:56,400
Ki pwobabilite se sa a efektivman
pral bay m ', jis entwitif?

892
00:40:56,400 --> 00:40:57,440
Apeprè 50%, dwa?

893
00:40:57,440 --> 00:41:01,190
Si nimewo a ki nan devine owaza
ant 1 ak 10 se mwens pase sis,

894
00:41:01,190 --> 00:41:03,480
klèman li nan youn, de,
twa, kat, oswa senk.

895
00:41:03,480 --> 00:41:06,740
Se konsa, ki nan ale nan ban m 'yon
50% pwobabilite nan sa ki k ap pase?

896
00:41:06,740 --> 00:41:09,890
>> Oke, kite a fè yon bagay tankou
sa a, "jwe Meow son."

897
00:41:09,890 --> 00:41:11,750
Ak avi, ankò,
moso nan devinèt ap grandi

898
00:41:11,750 --> 00:41:13,700
nan anfòm, toutotan fòm sa yo ki matche.

899
00:41:13,700 --> 00:41:14,910
Sa a ki sa a enpòtan.

900
00:41:14,910 --> 00:41:18,000
Kite m 'janbe lòt bò nan grafouyen
isit la epi klike sou "jwe."

901
00:41:18,000 --> 00:41:19,300
Pa gen anyen k ap pase.

902
00:41:19,300 --> 00:41:21,160
Eske se sa ke yon ensèk?

903
00:41:21,160 --> 00:41:21,999
Non, pa sa nesesè.

904
00:41:21,999 --> 00:41:24,040
Li te kapab jis pou ke yon
te pi gwo nimewo chwazi yo.

905
00:41:24,040 --> 00:41:25,762
Se konsa, kite a fè l 'ankò.

906
00:41:25,762 --> 00:41:27,550
Pa gen anyen.

907
00:41:27,550 --> 00:41:28,344
>> [Meow]

908
00:41:28,344 --> 00:41:29,510
DAVID J. Malan: Gen li se.

909
00:41:29,510 --> 00:41:30,280
[Meow]

910
00:41:30,280 --> 00:41:31,690
DAVID J. Malan: Yon lòt fwa ankò.

911
00:41:31,690 --> 00:41:32,300
No

912
00:41:32,300 --> 00:41:32,922
>> [Meowing]

913
00:41:32,922 --> 00:41:35,380
DAVID J. Malan: Se konsa, si ou te
tout tan tout tan te jwe yon jwèt, nan kou,

914
00:41:35,380 --> 00:41:38,500
kote bagay k ap pase owaza,
tankou mesye yo move ap vini oswa ou pa

915
00:41:38,500 --> 00:41:41,350
ap vini sou nan ekran an, oswa
bagay yo ap tonbe oswa pa tonbe,

916
00:41:41,350 --> 00:41:43,610
sa se sèlman paske yon bagay super
senp tankou sa a k ap pase.

917
00:41:43,610 --> 00:41:46,010
Chwazi yon nimewo o aza, epi si
li nan mwens pase kèk valè,

918
00:41:46,010 --> 00:41:49,100
petèt fè sa oswa petèt fè sa.

919
00:41:49,100 --> 00:41:51,340
Nou ka enkòpore
ki nan yon kondisyon.

920
00:41:51,340 --> 00:41:52,600
Se pou yo fè yon bagay diferan.

921
00:41:52,600 --> 00:41:53,559
>> Kite m 'voye jete ki lwen.

922
00:41:53,559 --> 00:41:56,058
Ou ka debarase m de bagay pa
jis trenen li koupe sou bò goch la

923
00:41:56,058 --> 00:41:56,810
ak kite ale.

924
00:41:56,810 --> 00:42:00,310
Kite m 'ale pi devan epi fè yon blòk pou tout tan
ak trè byen vit fè yon bagay anmèdan.

925
00:42:00,310 --> 00:42:03,010
Kite m 'ale pi devan epi
di "jwe Meow son."

926
00:42:03,010 --> 00:42:06,620
Men, mwen pa vle sa a yo dwe twò
anmèdan, kidonk kite m 'gen tan pwan blòk sa a,

927
00:42:06,620 --> 00:42:09,090
"Rete tann yon dezyèm," ak avi
gen nan pa gen chanm plis pou li.

928
00:42:09,090 --> 00:42:11,310
Men, si ou ale ase pre,
li vle ale la.

929
00:42:11,310 --> 00:42:14,100
Se konsa, mwen kite ale epi li pral
grandi yo ranpli blòk la.

930
00:42:14,100 --> 00:42:15,932
Se konsa, kounye a, sa a se yon riban.

931
00:42:15,932 --> 00:42:16,432
[Meowing]

932
00:42:16,432 --> 00:42:18,473
DAVID J. Malan: mwen se
literalman fè sa pou tout tan.

933
00:42:18,473 --> 00:42:19,360
Ankò e ankò.

934
00:42:19,360 --> 00:42:21,510
Sa se jis pa kònen klewon natirèl.

935
00:42:21,510 --> 00:42:24,800
Kite m 'ale pi devan epi chanje sa a
pa gen yon sèl, dezyèm lan, nan de segonn

936
00:42:24,800 --> 00:42:25,854
ak frape Mete.

937
00:42:25,854 --> 00:42:28,770
Ak sa ki nan bèl sou grafouyen se
ke ou ta ka pwogram enteraktif.

938
00:42:28,770 --> 00:42:32,450
Fè yon chanjman, petèt frape Antre oswa Jwe
ankò, epi li pral jis kenbe prale.

939
00:42:32,450 --> 00:42:34,962
Oke, kounye a poukisa yo pa nou fè
bagay yon ti kras cuter?

940
00:42:34,962 --> 00:42:39,680
Olye ke fè tout bagay soti nan grafouyen,
kite m 'ale pi devan epi louvri moute yon avanse

941
00:42:39,680 --> 00:42:43,180
te fè yon sèl, pou m 'pre-konn kwit nan fou,
rele "bèt kay Cat la."

942
00:42:43,180 --> 00:42:44,920
Epitou, n ap afiche tout nan
sa yo dosye sou entènèt,

943
00:42:44,920 --> 00:42:48,464
ak pwoblèm mete zewo pral di w
ki jan jwenn aksè nan yo e yo louvri yo moute.

944
00:42:48,464 --> 00:42:49,880
Ak avi, sa a se trè senp.

945
00:42:49,880 --> 00:42:53,860
Men, nan avanse, mwen sanble yo te pwan
yon "pou tout tan" blòk, se konsa mwen te gen yon riban.

946
00:42:53,860 --> 00:42:55,500
Lè sa a, mwen te gen yon "si" kondisyon.

947
00:42:55,500 --> 00:42:57,410
Mwen te gen yon ekspresyon Boolean.

948
00:42:57,410 --> 00:43:00,100
>> Se konsa, nan lang angle, jis regardant nan
sa a, espesyalman si ou te pa janm

949
00:43:00,100 --> 00:43:04,278
pwograme anvan, jis intuitivement,
ki sa ki sa a pral fè a, pwogram sa a?

950
00:43:04,278 --> 00:43:06,910
>> [ODYANS bavardaj]

951
00:43:06,910 --> 00:43:09,960
>> DAVID J. Malan: Si ou bèt kay chat la,
chat la ki pral Meow, dwa?

952
00:43:09,960 --> 00:43:14,560
Paske "pou tout tan dekochan" se
konsèy la sourit manyen chat la.

953
00:43:14,560 --> 00:43:17,630
Se konsa, yo dwe klè, e mwen pa t 'di
sa a anvan, tout moun sa yo devinèt

954
00:43:17,630 --> 00:43:20,750
moso ak script an ki
nou te konbine yo an,

955
00:43:20,750 --> 00:43:25,510
se konsa pale, yon script se synonyme ak
pwogram, reyèlman, ki dwe nan chat sa a.

956
00:43:25,510 --> 00:43:30,110
Ak rezon an is-- paske avi
ki jan sa a menm chat isit la se make,

957
00:43:30,110 --> 00:43:32,710
desann isit la ou ka kreye yon
dezyèm chat oswa chen oswa reyèlman

958
00:43:32,710 --> 00:43:33,970
nenpòt sa ou vle grafikman.

959
00:43:33,970 --> 00:43:35,900
Ou ka enpòte yon bagay
soti nan fotoschop, oswa tankou an,

960
00:43:35,900 --> 00:43:38,300
ak entegre yon bagay si ou
vle fè li pou yon pwojè.

961
00:43:38,300 --> 00:43:40,174
Ak ki sa ou ap jwenn,
finalman, se ke ou

962
00:43:40,174 --> 00:43:44,800
kapab ajoute Scripts, ajoute devinèt
moso, nan karaktè endividyèl elèv yo.

963
00:43:44,800 --> 00:43:47,210
Se konsa, sa yo tout fè pati nan
sa a chat patikilye.

964
00:43:47,210 --> 00:43:51,770
Se konsa, kounye a si mwen ale pi devan epi jwe
pwogram sa a, pa gen anyen k ap pase.

965
00:43:51,770 --> 00:43:52,970
Men, li ap kouri.

966
00:43:52,970 --> 00:43:56,364
Pwogram lan se nan sa a pou tout tan riban,
kalite ap tann pou ki sa yo rive?

967
00:43:56,364 --> 00:43:57,230
>> [ODYANS bavardaj]

968
00:43:57,230 --> 00:43:58,130
>> DAVID J. Malan: Pou bèt kay chat la.

969
00:43:58,130 --> 00:43:59,800
Se konsa, si mwen deplase sourit m 'nan direksyon him--

970
00:43:59,800 --> 00:44:02,420
>> [Meowing]

971
00:44:02,420 --> 00:44:04,450
>> DAVID J. Malan: Se konsa, kounye
Mwen plotaj chat la.

972
00:44:04,450 --> 00:44:07,330
Pandan se tan, nou ka gen yon branch doub.

973
00:44:07,330 --> 00:44:10,370
Kite m 'ale pi devan epi louvri
moute pa bèt kay chat la.

974
00:44:10,370 --> 00:44:12,160
Nou pral afiche sa a sou entènèt tou.

975
00:44:12,160 --> 00:44:16,760
Sa a se yon ti kras pi plis
konplèks, men san yo pa di

976
00:44:16,760 --> 00:44:18,780
ou ka devine petèt
sa k pral rive.

977
00:44:18,780 --> 00:44:20,160
>> [Meowing]

978
00:44:20,160 --> 00:44:23,900
>> DAVID J. Malan: chat se
meowing, Grand tan fin vye granmoun.

979
00:44:23,900 --> 00:44:26,690
Men, pwogram sa a se nan kou
rele "pa Bèt kay Cat la,"

980
00:44:26,690 --> 00:44:29,350
aklè konsa, mwen vle bèt kay chat la.

981
00:44:29,350 --> 00:44:30,490
>> [ROARING]

982
00:44:30,490 --> 00:44:31,940
>> DAVID J. Malan: pa bèt kay chat la.

983
00:44:31,940 --> 00:44:34,230
Koulye a, kite a pran yon gade
nan yon lòt egzanp isit la.

984
00:44:34,230 --> 00:44:38,035
Pral yon sèl sa a dwe rele
"Hi, hi, hi," pou rezon

985
00:44:38,035 --> 00:44:40,410
ki pral dwe klè, paske
le pli vit ke mwen kouri thing-- sa a

986
00:44:40,410 --> 00:44:41,401
>> [SEAL Barking]

987
00:44:41,401 --> 00:44:43,942
DAVID J. Malan: Trè fasil
ekri pwogram grafouyen anmèdan.

988
00:44:43,942 --> 00:44:45,300
[SEAL Barking]

989
00:44:45,300 --> 00:44:48,540
DAVID J. Malan: Koulye a, nou pa pral ale
nan gwo detay ak tout moun sa yo,

990
00:44:48,540 --> 00:44:51,150
men remake gen yon
koup la karakteristik nouvo isit la.

991
00:44:51,150 --> 00:44:55,540
Genyen nan yon varyab, ki rele "muet,"
ak Lè sa a, gen nan yon pakèt moun sou kondisyon.

992
00:44:55,540 --> 00:44:57,900
Ak pou kounye a, kite m '
jis toumante ou pa di

993
00:44:57,900 --> 00:45:03,170
ke si nèg sa a vin twò anmèdan,
Mwen ka frape bar la epi li sispann.

994
00:45:03,170 --> 00:45:05,880
Paske yo te wòl nan jwe pa
de Scripts sa yo se jan sa a.

995
00:45:05,880 --> 00:45:08,510
Youn nan yo ap fè nan
abwaman chak kèk segond.

996
00:45:08,510 --> 00:45:11,305
Youn nan lòt se jis ap tann
pou mwen pou m frape bar la.

997
00:45:11,305 --> 00:45:14,780
Men, si m 'fè frape bar la,
li a pral chanje

998
00:45:14,780 --> 00:45:18,096
eta a nan sa a varyab, valè a
nan varyab sa a, sa a, se aparamman

999
00:45:18,096 --> 00:45:20,470
rele "muet," Mwen pa t 'rele
li yon bagay raz tankou n,

1000
00:45:20,470 --> 00:45:22,370
Mwen rele l 'yon mo angle, "muet."

1001
00:45:22,370 --> 00:45:24,740
Soti nan 1 a 0 oswa 0 a 1.

1002
00:45:24,740 --> 00:45:26,830
Soti nan verite a ki fo oswa ki fo vre.

1003
00:45:26,830 --> 00:45:28,930
Se konsa, ou ka aktyèlman
wè koulye a, ke ou

1004
00:45:28,930 --> 00:45:31,720
te kapab gen de Scripts, de
pwogram kouri ansanm,

1005
00:45:31,720 --> 00:45:34,360
ak tou de peyi yo ta ka chita
nan yon bouk fè yon bagay.

1006
00:45:34,360 --> 00:45:38,067
Ap tann pou moun nan fè
yon bagay tankou frape bar.

1007
00:45:38,067 --> 00:45:38,650
[SEAL Barking]

1008
00:45:38,650 --> 00:45:40,566
DAVID J. Malan: Epi, koulye a
li se sou wout li ankò.

1009
00:45:40,566 --> 00:45:41,640
[SEAL Barking]

1010
00:45:41,640 --> 00:45:45,220
DAVID J. Malan: Se konsa, ki lòt bagay
ta ka nou fè ak egzanp sa yo?

1011
00:45:45,220 --> 00:45:50,920
Oke, kite la ale pi devan epi fè yon
egzanp ak konte mouton.

1012
00:45:50,920 --> 00:45:59,210
Nou pral kontinye sa a sou liy yo isit la
of-- kite nan louvri moute egzanp lan mouton.

1013
00:45:59,210 --> 00:46:02,460
Ak avi, anpil tankou anvan, yon sèl sa a,
Erezman, se yon ti kras mwens anmèdan.

1014
00:46:02,460 --> 00:46:06,940
Yon fwa mwen frape jwe here--
Oh okenn, sa a se anmèdan.

1015
00:46:06,940 --> 00:46:10,130
Li pral baa
ak kèk pwobabilite.

1016
00:46:10,130 --> 00:46:11,050
Se pou yo jwe sa a ankò.

1017
00:46:11,050 --> 00:46:15,221
>> [SHEEP BLEETING]

1018
00:46:15,221 --> 00:46:18,470
DAVID J. Malan: Sèl diferans ki genyen se
nou te chanje kostim nan, se konsa pale,

1019
00:46:18,470 --> 00:46:21,710
epi nou ap halving ak di
sa ke nimewo aktyèl la se.

1020
00:46:21,710 --> 00:46:24,680
Oke, kite a ale pi devan epi
pran etap sa a yon sèl pli lwen.

1021
00:46:24,680 --> 00:46:28,190
Ak kite m 'toumante ou ak
yon lòt karakteristik isit la.

1022
00:46:28,190 --> 00:46:31,800
Ann al pi devan epi louvri moute
yon pwogram ki rele Threads.

1023
00:46:31,800 --> 00:46:36,620
Se konsa, anpil tankou ou ka gen yon sèl
luten, li te gen miltip Scripts,

1024
00:46:36,620 --> 00:46:41,250
ou ka gen de sprites, yon zwazo nan
yon chat, chak gen pwòp script yo.

1025
00:46:41,250 --> 00:46:43,976
Ak chak nan yo kapab
opere ansanm.

1026
00:46:43,976 --> 00:46:45,980
Si ou te janm tande nan
mo "multitriedin"

1027
00:46:45,980 --> 00:46:49,240
yon òdinatè se "multi" vle di
li ka fè plizyè bagay nan yon fwa,

1028
00:46:49,240 --> 00:46:50,880
epi, tout bon, se konsa ka grate.

1029
00:46:50,880 --> 00:46:52,690
>> Epi, koulye a remake zwazo a se kalite bèbè.

1030
00:46:52,690 --> 00:46:55,100
Li nan jis fè bagay owaza,
rebondi sou ekran an.

1031
00:46:55,100 --> 00:46:59,460
Klèman te chat la te pwograme
kalite gen k ap chèche kapasite

1032
00:46:59,460 --> 00:47:02,680
nan kay nan sou zwazo a paske
li te toujou montre nan l '.

1033
00:47:02,680 --> 00:47:06,176
Jouk finalman, li te
kaptur zwazo a vrè.

1034
00:47:06,176 --> 00:47:08,550
Se konsa, mwen pa pral rete sou detay yo
isit la, men ou kapab kalite

1035
00:47:08,550 --> 00:47:12,160
aperçu fòm yo menm, kèk
"Si" kondisyon, gen kèk varyab,

1036
00:47:12,160 --> 00:47:15,740
petèt kèk pasan, yo
finalman fè menm bagay la.

1037
00:47:15,740 --> 00:47:18,400
>> Koulye a, kite m 'ale pi devan epi louvri
moute yon lòt bagay nèt,

1038
00:47:18,400 --> 00:47:20,920
toumante kèk nan nou, patikilyèman
moun pi alèz,

1039
00:47:20,920 --> 00:47:22,760
ki sa ou ka aktyèlman fè ak sa.

1040
00:47:22,760 --> 00:47:26,080
Mwen pral ale pi devan
epi louvri moute Button isit la.

1041
00:47:26,080 --> 00:47:28,740
Lè sa a se yon super
pwogram senp-sanblans,

1042
00:47:28,740 --> 00:47:34,190
men gade sa k ap pase
lè I-- Gade sa

1043
00:47:34,190 --> 00:47:39,860
k ap pase lè mwen louvri vèsyon sa-a nan li,
isit la nan navigatè a, scratch.mit.edu.

1044
00:47:39,860 --> 00:47:43,460
Lè m 'klike sou sa a wouj gwo
bouton, remake sa ki rive.

1045
00:47:43,460 --> 00:47:46,110

1046
00:47:46,110 --> 00:47:47,647
Se konsa, sa k ap pase sou isit la?

1047
00:47:47,647 --> 00:47:50,480
Genyen aktyèlman yon konpleksite anpil plis
ale sou anba kapo a,

1048
00:47:50,480 --> 00:47:52,896
menm si mwen te aplike
sa a, oswa franchman, Dann Bradley

1049
00:47:52,896 --> 00:47:54,660
te aplike sa a se konsa tou senpleman.

1050
00:47:54,660 --> 00:47:59,540
Li te fèt yon devinèt grafouyen koutim
moso, li te ye kòm yon ekstansyon grafouyen,

1051
00:47:59,540 --> 00:48:01,300
li rele l 'baskil.

1052
00:48:01,300 --> 00:48:06,332
>> Ak sa ki baskil fè se li voye
yon mesaj sou entènèt la.

1053
00:48:06,332 --> 00:48:08,290
Epi sa mesaj tèt li
sanble yon ti kras skre.

1054
00:48:08,290 --> 00:48:10,248
Men, sa a, tou, ou pral
konprann nan fen tèm nan.

1055
00:48:10,248 --> 00:48:14,930
Mesaj la li la aktyèlman voye
sanble yon ti kras yon bagay tankou sa a.

1056
00:48:14,930 --> 00:48:15,921
Se jis nan tèks.

1057
00:48:15,921 --> 00:48:16,420
Skre.

1058
00:48:16,420 --> 00:48:19,130
Ou ap konprann li pa tan an
nou jwenn pwoblèm nan mete sèt.

1059
00:48:19,130 --> 00:48:22,180
Li nan jis voye yon mesaj textuelle
sou entènèt la nan yon sèvè.

1060
00:48:22,180 --> 00:48:24,330
Epi sa sèvè se, finalman,
pale ak sa a anpoul limyè, ki

1061
00:48:24,330 --> 00:48:27,240
gen youn nan moun ki anpoul limyè anpenpan
nan li ki, li menm, ap pale

1062
00:48:27,240 --> 00:48:30,760
Wi-Fi a nan rezo a isit la,
kote yon aparèy lokal desann here--

1063
00:48:30,760 --> 00:48:34,400
epi, finalman, li la aktyèlman
vire ki limyè sou yo ak sou.

1064
00:48:34,400 --> 00:48:36,240
Men, nou ka fè plis
bagay sa yo enteresan toujou.

1065
00:48:36,240 --> 00:48:38,270
Remake sa Dann tou te fè pou nou.

1066
00:48:38,270 --> 00:48:42,210
Li te fè miltip sprites, yo chak nan
ki te gen yon script ap tann pou yon klike sou.

1067
00:48:42,210 --> 00:48:44,030
Men, si mwen klike sou wouj, li ale wouj.

1068
00:48:44,030 --> 00:48:46,780
Si mwen jwenn ble, li ale blueish.

1069
00:48:46,780 --> 00:48:49,854
Vèt, jòn, zoranj.

1070
00:48:49,854 --> 00:48:52,520
Ak tout bagay sa k ap pase pa
pral wout soti sou entènèt la,

1071
00:48:52,520 --> 00:48:54,690
tounen desann la a yo nan
anpoul limyè, sou yo ak sou.

1072
00:48:54,690 --> 00:48:57,981
>> Men, si ou ka kwè it-- ak sa a se
petèt youn nan grafouyen ki pi konplèks

1073
00:48:57,981 --> 00:49:00,930
pwojè yon moun gen implemented--
li te fè li, nan etidye ekite Règleman, nan yon jou.

1074
00:49:00,930 --> 00:49:04,180
Ak sa ki te defi a nou jete desann
Dan lè nou te wè gen anpoul binè,

1075
00:49:04,180 --> 00:49:05,810
nou gen grafouyen, ki jan
nou ka konbine yo?

1076
00:49:05,810 --> 00:49:08,410
Epi, tout bon, sa a se absoliman
yon bagay yon moun nan sal sa a

1077
00:49:08,410 --> 00:49:14,250
ta ka fè pa end-- semès la Eske li
reimplemented anpoul binè lè l sèvi avèk

1078
00:49:14,250 --> 00:49:18,310
koòdone a menm ki te
sou iPad nou an nan Mèkredi.

1079
00:49:18,310 --> 00:49:22,000
Se konsa, ki kounye a, si mwen aktyèlman
klike sou plis la sou isit la,

1080
00:49:22,000 --> 00:49:25,250
nou gen yonn, de, twa.

1081
00:49:25,250 --> 00:49:27,550
Mwen ka frape 16 an epi y'a vire ke youn sou.

1082
00:49:27,550 --> 00:49:29,440
128, ak pou fè.

1083
00:49:29,440 --> 00:49:31,250
>> Koulye a, si ki pou kont li gen
ak kònen tèt ou,

1084
00:49:31,250 --> 00:49:35,680
ou ta ka fè bagay sa yo byen lwen plis aksesib,
pa ki enplike nenpòt ki kenkayri sètènman.

1085
00:49:35,680 --> 00:49:38,320
Jis bagay sa yo sou ekran an tèt li.

1086
00:49:38,320 --> 00:49:41,110
Epi, tout bon, ki sa ki pi fò elèv
fini fè se kèk kalite jwèt,

1087
00:49:41,110 --> 00:49:44,600
kèk moso nan travay atistik, oswa
kèk kalite animasyon entèaktif.

1088
00:49:44,600 --> 00:49:47,352
Apre sa, mwen pral di youn nan nou an
favori te gen yon sèl sa a.

1089
00:49:47,352 --> 00:49:49,060
Apre sa, mwen te panse si nou
te ka bese limyè yo,

1090
00:49:49,060 --> 00:49:52,960
nou pral pran yon aperçu nan sa a final
Pwojè grate nan konklizyon.

1091
00:49:52,960 --> 00:49:57,460
Men, sa ki ou pral ta dwe kenbe nan tèt ou, menm jan
Mwen ka toumante ou ak yon dènye detay,

1092
00:49:57,460 --> 00:49:59,140
Koup ap kòmanse semèn pwochèn.

1093
00:49:59,140 --> 00:50:00,830
Lè biwo yo ap kòmanse semèn pwochèn.

1094
00:50:00,830 --> 00:50:04,410
Pwoblèm mete zewo pral poste
CS50.harvard.edu pita jodi a.

1095
00:50:04,410 --> 00:50:06,430
Epi ou pral akeyi
nan pwoblèm mete zewo

1096
00:50:06,430 --> 00:50:10,070
nan pwòp Zamyla Chan CS50 nan, ki moun ki
gide pi fò nan valktroug nou an.

1097
00:50:10,070 --> 00:50:11,952
Sa yo se videyo embedded
nan pwoblèm ansanm sa yo,

1098
00:50:11,952 --> 00:50:15,160
ki pral kenbe men ou nan yon anpil
nan seri inisyal moute a ak nan anpil

1099
00:50:15,160 --> 00:50:16,570
nan desizyon yo konsepsyon posib.

1100
00:50:16,570 --> 00:50:19,570
Se konsa, si ou te janm te gen ki emosyon
lè davwa ke yo pran yon devwa

1101
00:50:19,570 --> 00:50:21,030
ak mande, kote mwen kòmanse?

1102
00:50:21,030 --> 00:50:23,510
Li pral gen ki repons pou ou.

1103
00:50:23,510 --> 00:50:27,720
Epi, koulye a, yon pwogram final
nan youn nan chèf anvan ou

1104
00:50:27,720 --> 00:50:30,659
nan repons a kesyon an
"Ki sa rena a di nou fè?"

1105
00:50:30,659 --> 00:50:32,242
[MUSIC YLVIS, "KISA FOX a di?]

1106
00:50:32,242 --> 00:50:40,178

1107
00:50:40,178 --> 00:50:41,666
>> YLVIS: (chante) Dog ale abwaman.

1108
00:50:41,666 --> 00:50:43,650
Cat ale Meow.

1109
00:50:43,650 --> 00:50:47,520
Bird ale tweet ak sourit ale klake.

1110
00:50:47,520 --> 00:50:49,240
Bèf ale mujisman.

1111
00:50:49,240 --> 00:50:51,690
Krapo ale avèrtir.

1112
00:50:51,690 --> 00:50:54,630
Ak elefan an ale sifleman.

1113
00:50:54,630 --> 00:50:59,040
Kanna di charlatanism ak pwason ale bleub.

1114
00:50:59,040 --> 00:51:07,370
Ak sele a ale ow ow ow, men
gen nan yon sèl son ki pa gen moun konnen,

1115
00:51:07,370 --> 00:51:10,330
sa rena a di nou fè?

1116
00:51:10,330 --> 00:51:11,020
Epi

1117
00:51:11,020 --> 00:51:12,478
>> DAVID J. Malan: Sa a li pou CS50.

1118
00:51:12,478 --> 00:51:15,436
Nou pral wè ou nan
Devinèt Day ak nan Lendi.

1119
00:51:15,436 --> 00:51:16,424
>> [Aplodisman]

1120
00:51:16,424 --> 00:51:19,882
>> [MUSIC YLVIS, "Ki sa FOX Di konsa: LA?"]

1121
00:51:19,882 --> 00:51:24,840

1122
00:51:24,840 --> 00:51:28,820
>> Konteur: Epi, koulye a gwo twou san fon
panse, pa Daven Farnham.

1123
00:51:28,820 --> 00:51:31,770

1124
00:51:31,770 --> 00:51:34,570
Jodi a mwen te resevwa frape nan a
fè fas a ak yon liv telefòn.

1125
00:51:34,570 --> 00:51:38,160
Konfizyon, menm jan mwen se nan
lakay l ap gade sou entènèt.

1126
00:51:38,160 --> 00:51:42,528