高中英语短文改错!。

公文改错_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
上传于||暂无简介
阅读已结束,如果下载本文需要使用
想免费下载本文?
下载文档到电脑,查找使用更方便
还剩3页未读,继续阅读
你可能喜欢菜鸟请教一个问题,,有劳大神改错!!_c++吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:192,230贴子:
菜鸟请教一个问题,,有劳大神改错!!收藏
坐等大神,,谢谢啦!!
class TKriging : public TInterpolater&ForwardIterator&{public:
TKriging() {
// m_dSemivariance=4;
////////////////////////读钻孔数据///////////////////////
InputReader m_
m_io.Read("lili.txt");
input = const_cast&vector&Point3D&&&(m_io.Get3DPoints());
/////////////////////////////////////////////////////////
m_nSize = 0;
ForwardIterator first,
first=input.begin();
last=input.end();
vector&double&///钻孔区域的横坐标
vector&double&///钻孔数据的纵坐标
ForwardIterator start =
while(start != last) {//求出矩阵的阶数
vecx.push_back(input[i].x);
vecy.push_back(input[i].y);
// cout&&m_nSize&&
m_matA.SetDimension(m_nSize, m_nSize);
for(int j=0; j&m_nS j++) {//初始化
for(int i=0; i&m_nS i++) {
if(i == m_nSize-1 || j == m_nSize-1) {//最后一行,最后一列为1,最后一个元素为0
m_matA(i, j) = 1;
if(i == m_nSize-1 && j == m_nSize-1)
m_matA(i, j) = 0;
m_matA(i, j) = GetDistance(first, i, j);//* m_dS
// 求出i,j点的空间距离放入m_matA中
//////////ceshi/////////// /* int num=1;
for(j=0; j&m_nS j++) {//初始化
for(i=0; i&m_nS i++) {
cout&&m_matA(i,j)&&"
if(num==7)
{cout&&num=0;}
cout&&"**********************************"&&
LUDecompose(m_matA, m_Permutation, nD);//lu矩阵分解,解方程组用
///////////////////////////////////////////////////////////////
/*for(j=0; j&m_nS j++) {//初始化
for(i=0; i&m_nS i++) {
cout&&m_matA(i,j)&&"
if(num==7)
{cout&&num=0;}
}上面是部分程序下面是错误 error C2440: “=”: 无法从“std::_Vector_iterator&_Ty,_Alloc&”转换为“TPoint3D&T& ”1&
_Ty=Point3D,1&
_Alloc=std::allocator&Point3D&1&
T=double1&
没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符1&
d:\课程学习\克里格方法\克里格算法\kriging\kriging.h(89): 编译类 模板 成员函数“TKriging&T,ForwardIterator&::TKriging(void)”时1&
T=double,1&
ForwardIterator=Point3D *1&
d:\课程学习\克里格方法\克里格算法\kriging\prime.cpp(8): 参见对正在编译的类 模板 实例化“TKriging&T,ForwardIterator&”的引用1&
T=double,1&
ForwardIterator=Point3D *1&
]1&d:\课程学习\克里格方法\克里格算法\kriging\kriging.h(100) : error C2440: “=”: 无法从“std::_Vector_iterator&_Ty,_Alloc&”转换为“TPoint3D&T& ”1&
_Ty=Point3D,1&
_Alloc=std::allocator&Point3D&1&
T=double1&
没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
请问你改出来了吗?我也是遇到同样的问题,向你请教
5s那一点屏幕叫我怎么看,看到一点_Alloc类型和你要赋值的函数的返回值类型不一样。_Alloc=std::那里
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或一次笔试引发的血案
读前须知:
  各位朋友,此篇文章只是本人测试的结果,我的知识和思维必定有限,因此,此篇文章还存在缺陷,如有不正确的地方请大家指出,我及时改正。
  各位看客、牛人,不要小看这几到题啊,来尝试一下找错误吧,小弟先附上自己的理解(当然是经过测试的),一起交流吧。
  看看你能中几枪。。。
  巨人网络2013校园招聘Java程序员笔试题:
1、改错题(指出错误之处并对其进行修改)
  1.1、下列代码的错误之处
1 public class Question1 {
* 判断是否为奇数
* @param i
* @return true 为奇数 false 为偶数
public static boolean isOdd(int i){
return i%2==1;
* @param args
public static void main(String[] args) {
for(int i=Integer.MIN_VALUE;i&=Integer.MAX_VALUE;++i){
boolean isOdd=isOdd(i);
System.out.println(String.format("i=%d,isOdd=%b", i, isOdd));
  1.2、下列代码的错误之处
1 public class Question2 {
public static void main(String[] args) {
final long MICROS_PER_DAY=24*60*60*;
final long MILLIS_PER_DAY=24*60*60*1000;
System.out.println(MICROS_PER_DAY/MILLIS_PER_DAY);
  1.3、下列代码的错误之处
1 public class Question3 {
public static void main(String[] args) {
for(byte b=Byte.MIN_VALUE;b&Byte.MAX_VALUE;b++){
if(b==0x90)
System.out.println("Joy!");
  1.1错误:
    1、for语句是死循环; 
    2、判断int型是否为奇数return i%2==1错误,应该为:return i%2!=0;
    3、Mysuny这位朋友提出判断是否为奇数用i&1最好,我表示赞成,return (i&1)==1;
  测试代码1:
1 public class Question1Test2 {
* 判断是否为奇数
* @param i
* @return true 为奇数 false 为偶数
public static boolean isOdd(int i){
return i%2==1;
* @param args
public static void main(String[] args) throws Exception {
for(int i=Integer.MAX_VALUE-5;i&=Integer.MAX_VALUE;++i){
boolean isOdd=isOdd(i);
System.out.println(String.format("i=%d,isOdd=%b", i, isOdd));
Thread.sleep(500);
  结果:
1 i=,isOdd=false
2 i=,isOdd=true
3 i=,isOdd=false
4 i=,isOdd=true
5 i=,isOdd=false
6 i=,isOdd=true
7 i=-,isOdd=false
8 i=-,isOdd=false
9 i=-,isOdd=false
注意:这将引出此程序的第二个错误!
1 public class Question1Test3 {
public static void main(String[] args) {
System.out.println("整数的最小值:"+Integer.MIN_VALUE);
整数的最小值:-
System.out.println("整数的最大值:"+Integer.MAX_VALUE);
整数的最大值:
System.out.println("Integer.MAX_VALUE+1:"+(Integer.MAX_VALUE+1));
Integer.MAX_VALUE+1:-
  测试代码二:
1 public class Question1Test5 {
* 判断是否为奇数
* @param i
* @return true 为奇数 false 为偶数
public static boolean isOdd(int i){
int j=i%2;
System.out.println("i%2="+j);
return j==1;
* @param args
public static void main(String[] args) {
for(int i=-10;i&=0;++i){
boolean isOdd=isOdd(i);
System.out.println(String.format("i=%d,isOdd=%b", i, isOdd));
  运行结果:
2 i=-10,isOdd=false
4 i=-9,isOdd=false
6 i=-8,isOdd=false
8 i=-7,isOdd=false
10 i=-6,isOdd=false
12 i=-5,isOdd=false
14 i=-4,isOdd=false
16 i=-3,isOdd=false
18 i=-2,isOdd=false
20 i=-1,isOdd=false
22 i=0,isOdd=false
  通过测试二及其运行结果我们可以看到当为负int型的数据时,与2的余数为-1而不是1。
  正确写法:
1 public class Question1Test4 {
* 判断是否为奇数
* @param i
* @return true 为奇数 false 为偶数
public static boolean isOdd(int i){
return i%2 != 0;
* @param args
public static void main(String[] args) {
for(int i=Integer.MIN_VALUE;i&=Integer.MAX_VALUE;++i){
boolean isOdd=isOdd(i);
System.out.println(String.format("i=%d,isOdd=%b", i, isOdd));
if(i == Integer.MAX_VALUE)
  1.2错误:int类型数值计算超出范围的问题
  1.2的运行结果是:5,大家是不是感觉很奇怪啊,为什么不是1000呢?
  测试程序1如下:
1 public class Question2Test {
public static void main(String[] args) {
int i = 24 * 60 * 60 * 1000 * 1000;
long li = 24 * 60 * 60 * 1000 * 1000;
long l = 24 * 60 * 60 * 1000 * 1000L;
System.out.println("i=" + i);
System.out.println("li=" + li);
System.out.println("l=" + l);
System.out.println(Integer.MAX_VALUE);
  从测试结果我们可以看出:24*60*60* 的结果明显超出了int类型的表达范围,在运算的过程中运算结果仍然为int型,超出范围就截取后64位作为运算的结果。因此,我们看到虽然定义了long型变量li,但结果仍然是截取后的结果。
  测试程序1中仍然存在问题,我们在测试程序2中指出。
  测试程序2如下:
1 public class Question2Test2 {
public static void main(String[] args) {
long l1 = 24*60*60*00L;
long l2 = 24L*60*60*00;
System.out.println(l1);
System.out.println(l2);
  我想大家都可以看懂我写测试程序2的用意,我就不在多说了。。。
  正确写法如下:
1 public class Question2Test3 {
public static void main(String[] args) {
final long MICROS_PER_DAY=24L*60*60*;
final long MILLIS_PER_DAY=24L*60*60*1000;
System.out.println(MICROS_PER_DAY/MILLIS_PER_DAY);
  1.3正确 & & (本人这么觉得)
  测试程序1:
1 public class Question3Test1 {
public static void main(String[] args) {
System.out.println("byte类型的最大值:"+Byte.MAX_VALUE);
byte类型的最大值:127
for(byte b=(byte)(Byte.MAX_VALUE-5);b&Byte.MAX_VALUE;b++){
System.out.println("b="+b);
if(b==0x90)
System.out.println("Joy!");
  运行结果:
  由于1.3程序的for循环中&b&Byte.MAX_VALUE& 而并不是&b&=Byte.MAX_VALUE ,所以没有出现1.1中的错误。
  有人觉得0x90超出了byte类型的表示范围[-128,127],但是我并不觉得在这里是错误,因为题目也没有特殊要求。
阅读(...) 评论()单元练习: |
月考、期中、期末试卷: |
各科辅导 |
单元练习: |
月考、期中、期末试卷: |
各科辅导 |
单元练习: |
月考、期中、期末试卷: |
各科知识点 |
初中英语: |
中学生必看书目:
您当前所在位置:
英语单句改错题
成绩的提高是同学们提高总体学习成绩的重要途径,大家一定要在平时的练习中不断积累,小编为大家准备了英语单句改错题,希望同学们不断取得进步!
做单句改错题首先要读通句子,在此基础上,根据不同的情况,用所掌握的语法、词汇知识为标准,具体排除干扰,判断、找出错误,予以改正。
一、有些句子学生十分熟悉,根据所学知识,一眼就可识破,则不必顾及其他。如 :
I must try my best learn English well.
try one&s best后应跟不定式。故在 best后应加&to&。
二、有些题目要从时态、语态、语气或主谓一致等方面来判断。如 :
1. We have studied most of Book by the end of last week.
by后跟表示过去的时间状语时,对应的时态该用过去完成时,因此,该句中have应改为 had。
2. Those novels wrote by Lu Xun 60 years ago.
句中 wrote应改为 were written。因为 these novels是动作的承受者。
三、有些题目要从动词的用法,词组搭配以及用词的知识方面考虑。如 :
&Where&s the boy student?
&He has been to the library.
句中 has been to表示&去过某地,已回来&,而这里的男同学显然没回来,所以该处需改为&has gone to&。
四、越来越多的辨认错误题,综合了尽可能多的语法、词汇知识,因而同学们不能只从某项语法或词汇用法方面去判断,更应从各方面来判断错误的可能性。如 :
He broke the window when he was playing football and he paid of the glass the next day.
这一句不但要考虑broke、paid是否正确,而且要判断football, next day前是否有定冠词,更要核对&paid of&的准确性,因为 of与 for较相似,故此句paid of应改为paid for。
经典范例引路
例1 Lily has reached home three hours ago.
简析 :可将 has reached改为reached,即一般过去时。另一种改法是将句尾的three hours ago去掉,因涉及到不止一个选项,故在此题中不能这么改。
例2 You can&t get across when the lights are green.
简析 :此题语法上并没有错,只是不符合事实,应将D项的 green改为red,才符合&红灯停,绿灯行&的交通规则。
例 3 Don&t get into the gate before they tell you do that.
简析 :tell后接不定式作宾语补足语,即tell sb. to do sth,其中的to不可省略。
【综合能力训练】
Ⅰ. 下列各题有一处是错的,请将出并将改正后的词写在句后的括号内。
( )1. There is going to have much beef on the plate. ( )
( )2. I don&t think his dress is dearer than Kate. ( )
( )3. I can&t hear you. Could you speak it louder ? ( )
( )4. It&s kind for you to help me to do the cleaning. ( )
( )5. Mr Black, a good friend of me, likes drawing horses. ( )
( )6. Don&t stay at home. You had better to go out for a walk, ( )
( )7. In the girls& 100-metre race, Lily from Class 1 ran very fastly. ( )
( )8. There is a people in the room. But nobody knows who it is. ( )
( )9. We will hold a sports meeting next Monday if it won&t rain. ( )
( )10. The boy called Tom was born in the morning of May 2nd, 1990. ( )
( )11. Mother asked me if the Blacks were going to move here long before.
( )12.Today is September the tenth. Happy Teachers& Day to you. Thank you for teach us so well. ( )
( )13. Jim is much cleverer than any other students in Grade 3, but he doesn&t work hard. ( )
( )14. Look !Two hundreds students are watching a football match on the playground. ( )
Ⅱ. 改正下列句子,每句只有一个错误,在错的地方作出标记,并将改正后的词写在句后的横线上。
1. Have you gone to America before?
2. Is there new anything in this talk?
3. Neither Ann nor I are a League member.
4. We are surprise that he lost the game.
5. Most great artists like making own train.
6. Hurry up,and you won&t catch the train.
7. I think this song is most popular of all.
8. Mr Hu got up until ten o&clock yesterday.
9. What a interesting book !Do you like it ?
10. This story is not so longer as that one.
11. It&s a long time since we have met last.
12. What&s wrong with you ?You look unhappily.
13. Mrs Smith found that difficult to study English well.
14. There is little water in the glass, isn&t there ?
15. The boys were playing with fire when he comes in.
16. The traffic accident was happened around the corner last week.
17. Please show we the picture that you drew yesterday.
18. Mr Li wants the students do their homework by themselves.
[参考答案]
综合能力训练
Ⅰ. 1. have&be 2.& Kate&Kate's 3.& it&去掉 4.for&of 5. me&mine 6. to go&go 7. fastly&fast 8. a people&aperson 9. won't&doesn't 10. in &on 11.& long before&before long 12. teach&teaching 13. students&student 14. hundreds&hundred
Ⅱ. 1. gone&been 2. new anything&anything new 3. are&am 4. surprise&surprised 5. own&their own 6. and&or 7. most&the most 8. got&didn't get或until&at 9. a&an 10. longer&long 11. have met&met 12. unhappily&unhappy 13. that&it 14. isn't&is 15. comes&came 16. was happened&happened 17. we&us 18. do&to do
上面就是为大家准备的英语单句改错题,希望同学们认真浏览,希望同学们在考试中取得优异成绩。
更多精彩内容请点击:&&&&&&&&&&&&Time flies! This is a third year that I have been in this school. …短文改错及答案_高考模拟试题_英语学习网
最新公告:
&&没有公告
您现在的位置:&&>>&&>>&&>>&正文
Time&flies!&This&is&a&third&year&that&I&have&been&in&this&school.&…短文改错及答案
&&&热&&&&&★★★★
Time&flies!&This&is&a&third&year&that&I&have&been&in&this&school.&…短文改错及答案
文章来源:
更新时间: 19:25:05
第一节 短文改错(共10小题;每小题1分,满分10分)
假定英语课上老师要求同桌之间交换修改作文,请你修改你同桌写的以下作文。文中共有10处语言错误,每句中最多有两处。每处错误仅涉及一个单词的增加、删除或修改。
增加:在此处加一个漏字符号(∧),并在下面写出增加的词;
删除:把多余的词用斜线()划掉;
修改:在错的词下划一横线,并在该词下面写出修改后的词。
注意:1. 每处错误及其修改均仅限一词;
&&&&&&&&& 2. 只允许修改10处,多者(从11处起)不计分。
Time flies! This is a third year that I have been in this school. In the past two and a half years, our school had organized many activities. What impressed me best was an activity called “Learning to Farm”. In an autumn afternoon, we were sent to a farm which we learned to plant potatoes. Having been in the city for so a long time, we were so happy to go to the countryside. After divided into three groups, we started to work. Some students cut
some dug holes, and the others put the pieces of potatoes into the hole, put the earth back and pushed them down hard. We continued doing that until all the work was done. Although we were exhausted, but we felt fulfilled on our way back home.
1. a改为the& 2. had 改为has& 3. best 改为most& 4. In 改为 On& 5. which改为where或前面加on
6. so 改为such& 7. divided前加being& 8. hole 改为holes& 9. them改
文章录入:admin&&&&责任编辑:zfj&
上一个文章: 下一个文章:
【字体: 】【】【】【】【】【】
  网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)}

我要回帖

更多关于 英语短文改错 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信