楼主: yiyiyaya
跳转到指定楼层
上一主题 下一主题
收起左侧

Stanford CS106a #4 Assignment4讨论帖

无效楼层,该帖已经被删除
全局:
第三部分脑残了半天都写不出来,参照了这贴才发现其实很简单,教授反而讲的是高层面的……第二部分写的特别难看,不过好像大家都没好哪去
  1. /*
  2. * File: Hangman.java
  3. * ------------------
  4. * This program will eventually play the Hangman game from
  5. * Assignment #4.
  6. */

  7. import acm.graphics.*;
  8. import acm.program.*;
  9. import acm.util.*;

  10. import java.awt.*;

  11. public class Hangman extends ConsoleProgram {
  12.         private HangmanCanvas canvas;
  13.        
  14.         public void init(){
  15.                 canvas=new HangmanCanvas();
  16.                 add(canvas);
  17.         }
  18.        
  19.     public void run() {
  20.            
  21.             println("Welcome to Hangman!");
  22.            
  23.             canvas.reset();
  24.            
  25.             println(answer);
  26.            
  27.             //readFromUser();
  28.             for(int i=0;i<answer.length();i++){
  29.                     guess=guess+"-";
  30.                    
  31.             }
  32.             println("The word now looks like this: "+guess);
  33.            
  34.                    
  35.            
  36.            
  37.             while(true){
  38.                     readFromUser();
  39.                     int a = answer.indexOf(Letter);
  40.                      
  41.                     if(a==-1){
  42.                             lives--;
  43.                             println("There are no " + letter +"'s in the word.");
  44.                             showWord();
  45.                             leftGuesses();
  46.                            
  47.                             canvas.noteIncorrectGuess(Letter);
  48.                            
  49.                             canvas.draw();
  50.                            
  51.                            
  52.                            
  53.                             if(lives==0){
  54.                                     println("You are completely hung.");
  55.                                     println("The word was: "+answer);
  56.                                     println("You lose.");
  57.                                     break;
  58.                             }
  59.                            
  60.                            
  61.                            
  62.                            
  63.                            
  64.                            
  65.                     } else {
  66.                            
  67.                            
  68.                             println("That guess is correct.");
  69.                            
  70.                             showWord();
  71.                             leftGuesses();
  72.                            
  73.                            
  74.                             if(guess.equals(answer)) {
  75.                                     println("You guessed the word: "+answer);
  76.                                     println("You win.");
  77.                                     break;
  78.                             }
  79.                            
  80.                            
  81.                            
  82.                     }
  83.                     }
  84.            
  85.                    
  86.                                    
  87.                 }
  88.            
  89.             private void leftGuesses(){
  90.                     println("You have "+lives+" guesses left.");
  91.                    
  92.             }
  93.            
  94.    
  95.             private void readFromUser(){
  96.                     letter=readLine("Your guess: ");
  97.                     letter=letter.toUpperCase();
  98.                     Letter=letter.charAt(0);
  99.                    
  100.                     if(letter.length()>1){
  101.                             println("YOU CAN ONLY TYPE ONE CHARACTER");
  102.                     }
  103.             }
  104.                    
  105.    
  106.    
  107.            
  108.    
  109.            
  110.             public void showWord(){
  111.                    
  112.             
  113.                     for(int i=0;i<answer.length();i++){
  114.                            
  115.                            
  116.                             if(matchcheck(i)){
  117.                                     guess=guess.substring(0,i)+Letter+guess.substring(i+1);
  118.                                    
  119.                             }
  120.                     }
  121.                    
  122.                                
  123.                     println("The word now looks like this: "+guess);
  124.                     canvas.displayWord(guess);
  125.             }
  126.                    
  127.             private boolean matchcheck(int x){
  128.                     return(Letter==answer.charAt(x));
  129.             
  130.             }
  131.           
  132.             


  133.             
  134.          
  135.                    
  136.             
  137.             private String guess="";
  138.             private Character Letter;
  139.             private String letter;
  140.             public int lives=8;
  141.             private RandomGenerator rgen=RandomGenerator.getInstance();
  142.             
  143.             
  144.             private HangmanLexicon lexicon=new HangmanLexicon(); //????????
  145.                 //this is to create a new HangmanLexicon and store it in an instance variable
  146.             private int indexnum = rgen.nextInt(0,lexicon.getWordCount());
  147.             private String answer =lexicon.getWord(indexnum);
  148.             
  149.    
  150.    
  151. }
复制代码
  1. /*
  2. * File: HangmanLexicon.java
  3. * -------------------------
  4. * This file contains a stub implementation of the HangmanLexicon
  5. * class that you will reimplement for Part III of the assignment.
  6. */

  7. import acm.util.*;
  8. import acm.program.*;
  9. import java.io.*;
  10. import java.util.*;
  11. import java.awt.*;



  12. public class HangmanLexicon extends ConsoleProgram {
  13.        
  14.          private ArrayList<String> Strlist=new ArrayList<String>();
  15.          private BufferedReader rd;
  16.        
  17.         /* private BufferedReader openfile(String prompt){
  18.                  BufferedReader rd=null;
  19.                  while(rd==null){
  20.                          try{
  21.                                  String name=readLine(prompt);
  22.                                  rd=new BufferedReader(new FileReader(name));
  23.                          } catch (IOException ex){
  24.                                  println("Bad File");
  25.                          }
  26.                  }
  27.                  return rd;
  28.          }
  29.         */
  30.          
  31.          public HangmanLexicon(){
  32.                   

  33.                 // BufferedReader rd=openfile("Please Enter Filename");
  34.                  try{
  35.                          rd=new BufferedReader(new FileReader("ShorterLexicon.txt"));
  36.                          while(true){
  37.                                  String line=rd.readLine();
  38.                                  if(line==null)break;
  39.                                  Strlist.add(line);
  40.                                  ///store in
  41.                          }
  42.                          rd.close();
  43.                  } catch (IOException ex){
  44.                          throw new ErrorException(ex);
  45.                  }
  46.                  
  47.          }
  48.        
  49.        
  50.          

  51.          

  52.                  
  53.                  
  54.                
  55.                  
  56.                        
  57.        
  58.        

  59. /** Returns the number of words in the lexicon. */
  60.         public int getWordCount() {
  61.                 return Strlist.size();
  62.                 //return 10;
  63.         }

  64. /** Returns the word at the specified index. */
  65.         public String getWord(int index) {
  66.                
  67.                 return(Strlist.get(index));
  68.                
  69.                 /*
  70.                  *
  71.                  switch (index) {
  72.                         case 0: return "BUOY";
  73.                         case 1: return "COMPUTER";
  74.                         case 2: return "CONNOISSEUR";
  75.                         case 3: return "DEHYDRATE";
  76.                         case 4: return "FUZZY";
  77.                         case 5: return "HUBBUB";
  78.                         case 6: return "KEYHOLE";
  79.                         case 7: return "QUAGMIRE";
  80.                         case 8: return "SLITHER";
  81.                         case 9: return "ZIRCON";
  82.                         default: throw new ErrorException("getWord: Illegal index");
  83.                 }
  84.                 */
  85.         };
  86.        
  87.        
  88. }
复制代码
  1. /*
  2. * File: HangmanCanvas.java
  3. * ------------------------
  4. * This file keeps track of the Hangman display.
  5. */

  6. import acm.graphics.*;
  7. import java.awt.*;

  8. public class HangmanCanvas extends GCanvas {
  9.        
  10.         public void draw(){
  11.                 count++;
  12.                
  13.                
  14.                 GOval head=new GOval(getWidth()/2-HEAD_RADIUS,getHeight()/8+ROPE_LENGTH,HEAD_RADIUS*2,HEAD_RADIUS*2);
  15.                 GLine body=new GLine(getWidth()/2,getHeight()/8+ROPE_LENGTH+2*HEAD_RADIUS,getWidth()/2,getHeight()/8+ROPE_LENGTH+2*HEAD_RADIUS+BODY_LENGTH);
  16.                 int arm=ARM_OFFSET_FROM_HEAD+getHeight()/8+ROPE_LENGTH+2*HEAD_RADIUS;
  17.                 GLine leftarm=new GLine(getWidth()/2,arm,getWidth()/2-UPPER_ARM_LENGTH,arm);
  18.                 GLine rightarm=new GLine(getWidth()/2,arm,getWidth()/2+UPPER_ARM_LENGTH,arm);
  19.                 GLine lefthand=new GLine(getWidth()/2-UPPER_ARM_LENGTH,arm,getWidth()/2-UPPER_ARM_LENGTH,arm+LOWER_ARM_LENGTH);
  20.                 GLine righthand=new GLine(getWidth()/2+UPPER_ARM_LENGTH,arm,getWidth()/2+UPPER_ARM_LENGTH,arm+LOWER_ARM_LENGTH);
  21.                 int hip=getHeight()/8+ROPE_LENGTH+2*HEAD_RADIUS+BODY_LENGTH;
  22.                 GLine lefthip=new GLine(getWidth()/2,hip,getWidth()/2-HIP_WIDTH,hip);
  23.                 GLine righthip=new GLine(getWidth()/2,hip,getWidth()/2+HIP_WIDTH,hip);
  24.                 GLine leftleg=new GLine(getWidth()/2-HIP_WIDTH,hip,getWidth()/2-HIP_WIDTH,hip+LEG_LENGTH);
  25.                 GLine rightleg=new GLine(getWidth()/2+HIP_WIDTH,hip,getWidth()/2+HIP_WIDTH,hip+LEG_LENGTH);
  26.                 GLine leftfoot=new GLine(getWidth()/2-HIP_WIDTH,hip+LEG_LENGTH,getWidth()/2-HIP_WIDTH-FOOT_LENGTH,hip+LEG_LENGTH);
  27.                 GLine rightfoot=new GLine(getWidth()/2+HIP_WIDTH,hip+LEG_LENGTH,getWidth()/2+HIP_WIDTH+FOOT_LENGTH,hip+LEG_LENGTH);
  28.                
  29.                
  30.                
  31.                
  32.                 if(count==1){
  33.                         add(head);
  34.                 }
  35.                 if(count==2){
  36.                 add(body);
  37.                 }
  38.                 if(count==3){
  39.                         add(leftarm);
  40.                         add(lefthand);
  41.                 }
  42.                 if(count==4){
  43.                         add(rightarm);
  44.                         add(righthand);
  45.                 }
  46.                 if(count==5){
  47.                         add(lefthip);
  48.                         add(leftleg);
  49.                 }
  50.                 if(count==6){
  51.                         add(righthip);
  52.                         add(rightleg);
  53.                 }
  54.                 if(count==7){
  55.                         add(leftfoot);
  56.                 }
  57.                 if(count==8){
  58.                         add(rightfoot);
  59.                 }
  60.                        
  61.                
  62.                
  63.                
  64.                
  65.                
  66.                
  67.                
  68.         }
  69.        

  70. /** Resets the display so that only the scaffold appears */
  71.         public void reset() {
  72.                 GLine rope=new GLine(getWidth()/2,getHeight()/8,getWidth()/2,getHeight()/8+ROPE_LENGTH);
  73.                 GLine pillar=new GLine(getWidth()/2-BEAM_LENGTH,getHeight()/8,getWidth()/2-BEAM_LENGTH,getHeight()/8+SCAFFOLD_HEIGHT);
  74.                 add(pillar);
  75.                 GLine beam=new GLine(getWidth()/2-BEAM_LENGTH,getHeight()/8,getWidth()/2,getHeight()/8);
  76.                 add(beam);
  77.                 add(rope);
  78.                 /* You fill this in */
  79.                
  80.         }

  81. /**
  82. * Updates the word on the screen to correspond to the current
  83. * state of the game.  The argument string shows what letters have
  84. * been guessed so far; unguessed letters are indicated by hyphens.
  85. */
  86.         public void displayWord(String word) {
  87.                 /* You fill this in */
  88.                 GLabel displayw=new GLabel(word);
  89.                 GRect cover=new GRect(displayw.getWidth(),displayw.getAscent());
  90.                 cover.setFilled(true);
  91.                 cover.setColor(Color.WHITE);
  92.                
  93.                 add(cover,getWidth()/2,getHeight()/2+200-displayw.getAscent());
  94.                 add(displayw,getWidth()/2,getHeight()/2+200);
  95.                
  96.                
  97.                
  98.                
  99.         }

  100. /**
  101. * Updates the display to correspond to an incorrect guess by the
  102. * user.  Calling this method causes the next body part to appear
  103. * on the scaffold and adds the letter to the list of incorrect
  104. * guesses that appears at the bottom of the window.
  105. */
  106.         public void noteIncorrectGuess(char word) {
  107.                 /* You fill this in */
  108.                 result=result+word;
  109.                 GLabel incorrect= new GLabel(result);
  110.                 add(incorrect,getWidth()/2,getHeight()/2+220);
  111.                
  112.         }

  113.        
  114.        
  115.        
  116.         private int count=0;
  117.         private String result="";
  118. /* Constants for the simple version of the picture (in pixels) */
  119.         private static final int SCAFFOLD_HEIGHT = 360;
  120.         private static final int BEAM_LENGTH = 144;
  121.         private static final int ROPE_LENGTH = 18;
  122.         private static final int HEAD_RADIUS = 36;
  123.         private static final int BODY_LENGTH = 144;
  124.         private static final int ARM_OFFSET_FROM_HEAD = 28;
  125.         private static final int UPPER_ARM_LENGTH = 72;
  126.         private static final int LOWER_ARM_LENGTH = 44;
  127.         private static final int HIP_WIDTH = 36;
  128.         private static final int LEG_LENGTH = 108;
  129.         private static final int FOOT_LENGTH = 28;

  130. }
复制代码
有因为怕写错把之前的code改成注释之后又懒得删的习惯,所以看起来一个比一个长……
回复

使用道具 举报

🔗
littlelab 2013-7-20 08:52:51 | 只看该作者
全局:
请教个问题,我的console window默认大小是100*200的,根本无法 放下scaffold,每次canvas.reset结束后,都看不到scaffold。相应的GLine我已经设置成visible了,debug了一下发现就是窗口大小的问题,应为图像的起点都落在窗口外面了。

还有个问题,为啥我的窗口是已applet的形式出现的,applet和console window是一回事吗?

请问各位大侠有没有什么办法修改console window的大小,你们当初编程的时候是怎么解决的,谢谢各位!

consoleWindow.png (19.39 KB, 下载次数: 0)

consoleWindow.png
回复

使用道具 举报

🔗
sewen67 2013-8-1 22:18:48 | 只看该作者
全局:
/*
* File: Hangman.java
* ------------------
* This program will eventually play the Hangman game from
* Assignment #4.
*/


import acm.graphics.*;
import acm.program.*;
import acm.util.*;

import java.awt.*;

public class Hangman extends ConsoleProgram {
       
        private HangmanCanvas canvas;
       
        public void init() {
                canvas = new HangmanCanvas();
                add(canvas);
                canvas.reset();
                }

    public void run() {
            int wordnumber = rgen.nextInt(0,9);
                String rightword = new HangmanLexicon().getWord(wordnumber);
                int wordLength=rightword.length();
                result="-";
                for (int i=0;i<wordLength-1;i++){
                        result=result+"-";
                }               
                count=8;       
                wrong=" ";
                println("Welcome to the world of Hangman");
                wrong="";
                while (true){
                        println("The word now looks like this:"+result);
                        if (count==1){
                                println("You have only one guess left.");
                        } else{
                                println("You have "+count+" guesses left");
                        }
                        guess=readLine("Your guess:");
                        while (true){                               
                                if (Character.isLetter(guess.charAt(0))&guess.length()==1&guess!=""){
                                        break;
                                } else {
                                        guess=readLine("Please enter character:");
                                }                               
                        }                       
                        Right=false;
                        for (int i=0;i<wordLength;i++){
                                if (guess.equalsIgnoreCase(rightword.substring(i,i+1))){
                                        if (i==0){
                                                result=guess+result.substring(1);
                                        } else if (i==wordLength-1){
                                                result=result.substring(0,i)+guess;
                                        } else{
                                                result=result.substring(0,i)+guess+result.substring(i+1);
                                        }
                                        Right=true;
                                }
                        }
                        if (Right){
                                println("You are right.");
                        }else{
                                println("There are no"+guess+"'s in the word");
                                indicator=false;
                                if (wrong.length()==1&guess.equalsIgnoreCase(wrong)){
                                                indicator=true;
                                } else {
                                        for (int i=0;i<wrong.length();i++){
                                                        if (guess.equalsIgnoreCase(wrong.substring(i,i+1))){
                                                                indicator=true;
                                                }                                       
                                        }
                                }
                                wrong=guess+wrong;
                                if (!indicator){
                                        count--;
                                        canvas.noteIncorrectGuess(count);                                       
                                }
                        }
                        if (count==0){
                                println("The word is:"+rightword);
                                println("You are completely hung.");
                                println("You lose");
                                canvas.displayWord(result);
                                break;
                        } else if (result.equalsIgnoreCase(rightword)){
                            println("You guess the word:"+rightword);
                            println("You win!");
                            break;
                        } else {
                               
                        }
                               
                }
    }
   

   
    private String rightword;
    private RandomGenerator rgen= RandomGenerator.getInstance();
    private String guess;
    private String result;
    private int count;
    private Boolean Right;
    private String wrong;
    private Boolean indicator;
    private int wordLength;
}
回复

使用道具 举报

🔗
sewen67 2013-8-1 22:19:03 | 只看该作者
全局:
/*
* File: HangmanLexicon.java
* -------------------------
* This file contains a stub implementation of the HangmanLexicon
* class that you will reimplement for Part III of the assignment.
*/

import acm.util.*;
import java.io.*;
import acm.program.*;
import java.util.*;

public class HangmanLexicon {

/** Returns the number of words in the lexicon. */
        public int getWordCount() {
                return list.size();
        }

/** Returns the word at the specified index. */
        public String getWord(int index) {
                try {
                        BufferedReader rd = new BufferedReader (new FileReader (DATA_FILE));
                        while (true){
                                String line=rd.readLine();
                                if (line==null) break;
                                list.add(line);
                               
                        }
                } catch (IOException ex){
                        throw new ErrorException (ex);
                }
                listsize=getWordCount();
                return list.get(index);
        }
       
        private int listsize;
        private static final String DATA_FILE="HangmanLexicon.txt";
        private ArrayList<String> list = new ArrayList <String>();
}
回复

使用道具 举报

🔗
sewen67 2013-8-1 22:19:37 | 只看该作者
全局:
/*
* File: HangmanCanvas.java
* ------------------------
* This file keeps track of the Hangman display.
*/

import acm.graphics.*;

public class HangmanCanvas extends GCanvas {

/** Resets the display so that only the scaffold appears */
        public void reset() {
                removeAll();
                add (new GLine(200,60,200,60+ROPE_LENGTH));      
        }

/**
* Updates the word on the screen to correspond to the current
* state of the game.  The argument string shows what letters have
* been guessed so far; unguessed letters are indicated by hyphens.
*/
        public void displayWord(String word) {
                add (new GLabel(word,200-word.length()/2,400));
               
        }

/**
* Updates the display to correspond to an incorrect guess by the
* user.  Calling this method causes the next body part to appear
* on the scaffold and adds the letter to the list of incorrect
* guesses that appears at the bottom of the window.
*/
        public void noteIncorrectGuess(int number) {
                switch (number){
                        case 7:
                                add (new GOval (200-HEAD_RADIUS,60+ROPE_LENGTH,2*HEAD_RADIUS,2*HEAD_RADIUS));
                break;
                        case 6:
                                add (new GLine (200,60+ROPE_LENGTH+2*HEAD_RADIUS,200,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH));
                break;
                        case 5:
                                GLine leftarmA=new GLine(200,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD,200-UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD);
                                GLine leftarmB=new GLine(200-UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD,200-UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD+LOWER_ARM_LENGTH);
                                add (leftarmA);
                                add (leftarmB);
                            break;
                        case 4:
                                GLine rightarmA=new GLine(200,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD,200+UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD);
                                GLine rightarmB=new GLine(200+UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD,200+UPPER_ARM_LENGTH,60+ROPE_LENGTH+2*HEAD_RADIUS+ARM_OFFSET_FROM_HEAD+LOWER_ARM_LENGTH);
                                add (rightarmA);
                                add (rightarmB);
                            break;
                        case 3:
                                add (new GLine (200,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH,200-HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH));
                                add (new GLine (200-HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH,200-HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH));
                                add (new GLine (200-HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH,200-HIP_WIDTH-FOOT_LENGTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH));
                            break;
                        case 2:
                                add (new GLine (200,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH,200+HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH));
                                add (new GLine (200+HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH,200+HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH));
                                add (new GLine (200+HIP_WIDTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH,200+HIP_WIDTH+FOOT_LENGTH,ARM_OFFSET_FROM_HEAD+60+ROPE_LENGTH+BODY_LENGTH+LEG_LENGTH));
                            break;
                        case 1:
                                 add (new GLine (200,60,200-BEAM_LENGTH,60));
                                 break;
                        case 0:
                                 add (new GLine (200-BEAM_LENGTH,60,200-BEAM_LENGTH,60+SCAFFOLD_HEIGHT));
                                 break;         
                }
               
        }

/* Constants for the simple version of the picture (in pixels) */
        private static final int SCAFFOLD_HEIGHT = 360;
        private static final int BEAM_LENGTH = 144;
        private static final int ROPE_LENGTH = 18;
        private static final int HEAD_RADIUS = 36;
        private static final int BODY_LENGTH = 144;
        private static final int ARM_OFFSET_FROM_HEAD = 28;
        private static final int UPPER_ARM_LENGTH = 72;
        private static final int LOWER_ARM_LENGTH = 44;
        private static final int HIP_WIDTH = 36;
        private static final int LEG_LENGTH = 108;
        private static final int FOOT_LENGTH = 28;

}
回复

使用道具 举报

🔗
midfirefly 2014-1-13 14:08:03 | 只看该作者
全局:
yi? code 可以这么明摆着贴出来吗?

点评

个人觉得这门课没有那个签订协议要求,都是自己学习,贴出代码也没关系吧…有要求的比如coursera和udacity就可以通过截图等方式  发表于 2014-1-13 15:28
回复

使用道具 举报

🔗
ifso 2014-1-13 14:13:32 | 只看该作者
全局:
小K 发表于 2014-1-13 01:08
yi? code 可以这么明摆着贴出来吗?

以前还没有公布/严格实行来自Coursera的不公开代码的政策,加上这门课很古老没有完成度之类的表示方法,所以一直都是贴代码的。也是近期才开始采用写思路+关键代码+截图的方式,可以参见作业1-3。
回复

使用道具 举报

🔗
jby1797 2014-1-14 16:55:27 | 只看该作者
全局:
感觉这个作业还是听容易的,虽然工作量有点大。
把以前学的好多只是串起来了。
先交个作业吧,欢迎大家讨论


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表