数 值 分 析
Numerical Analysis
主讲教师,陈 越
Instructor,CHEN,YUE
E-mail,chenyue@cs.zju.edu.cn
?教材 (Text Book)
数值方法 金一庆、陈越 编著 (机械工业出版社)
? 参考书目 (Reference)
? Numerical Analysis (Seventh Edition)
数值分析 (第七版 影印版)
Richard L,Burden & J,Douglas Faires (高等教育出版社)
? 现代数值分析 李庆扬、易大义、王能超 编著
(高等教育出版社)
课程评分方法 (Grading Policies)
? Lecture Grade (100) = Laboratory Projects (30)
+ Final Exam (70)
?
?
15
1i
) i ( L a b
? Laboratory Grade (30) =
Numerical Analysis
Laboratory Projects
1,Input and Output
Your program must read from a file,in.txt” (if there is
any input) and write to a file,out.txt” in the current
directory,
2,Judge Compiler
Visual C++ 6.0 Enterprise Edition
3,How to Submit your Program by E-mail
You may send your source code to,chenyue@cs.zju.edu.cn
with,HW” as the title of your e-mail,Note,if you don’t specify the
title of your e-mail,there could be a delay of judging,
Your C or C++ file must be named as,yourID_problem#.c”
(or,cpp),For example,“98115001_03.c” is considered to be the
program for solving problem 3 and the author is the student with ID
98115001,
The first line of your source code must be a comment line written
in the following format,
/* Author,Your name; ID:Your ID; No.Problem# */
For example,
/* Author,Yao Qiaoling; ID,98115001; No.03 */
4,Grading Policy
Your program will be compiled and run in my system,and I will
test it with some inputs and outputs,or perhaps with a specific judge
tool,In 24 hours you will receive by e-mail one of these answers (As
you can see,I have been coaching our ACM/ICPC teams for too long
? ),
Accepted,OK! Your program is correct! You will obtain 2
points for correctly solving one problem,
Presentation Error,Your program outputs are correct,but
are not presented in the correct way,Check for spaces,justify line
feeds..,
Wrong Answer,Correct solution not reached for the inputs,
The inputs and outputs that I use to test the programs are not public,
Run Time Error,Your program crashed during the
execution (segmentation fault,floating point exception...),
Time Limit Exceeded,Your program tried to run during too
much time,This error does not allow you to know if your
program would reach the correct solution to the problem,
Output Limit Exceeded,Your program tried to write too much
information,This usually occurs if there is an infinite loop,
Compile Error,The compiler could not compile your program,
Submission Error,You have not specified correctly your file
name or the first comment line (an incorrect ID,number of
problem...),
Note,
1,Each program must be done independently to gain any credit,
2,For each problem solved on 2002 ZJU Programming Contest,the
contestant will obtain 4 bonus points for his/her lab credits,