Test Number | ptest01 | ||||||||||||||||||||||||||
numberToLetterGrade(16) | UpPeRlOwEr(16) | UpPeRlOwEr(17) | elementForIndex(17) | coordinateForIndex(17) | allocateDynamicArrayAndFillWithNumbers(17) | ||||||||||||||||||||||
score | memo | score | memo | score | memo | score | memo | score | memo | score | memo | ||||||||||||||||
708746893 | 75 | 16 | 16 | 16 | return s instead of "s" | 16 | return the element at index(your return is the sum of previous index elements) | 0 | 1.index is a integer not an array. The implementation is not required | 11 | 1.the value of element is index+1. 2. why return a NULL value | ||||||||||||||||
721729394 | 63 | 16 | 16 | 17 | 0 | undo | 0 | undo | 14 | should be p[i]=i+1 | |||||||||||||||||
890924978 | 0 | ||||||||||||||||||||||||||
458441891 | |||||||||||||||||||||||||||
374864983 | 78 | 16 | 15 | missing one statement | 16 | missing one statement | 17 | 0 | the implementation is not required | 14 | 1.Do not need to delete the variable. 2. the intialization is not required. | ||||||||||||||||
743667151 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
781514057 | 51 | 8 | no such expression 100>=grade>=90 in c++ | 16 | 17 | 0 | the implementation is not required | 3 | 1.the index is an integer array not an integer in return 2. the implementation is not required | 7 | 1.
return (b); delete a; is nonsense 2.the implementation is not required. |
||||||||||||||||
772228205 | 0 | ||||||||||||||||||||||||||
678440828 | 64 | 10 | 1.using another variable whose type is char 2.0 is a integer not a char | 13 | the if statement should be put inside the for statement | 13 | the if statement should be put inside the for statement | 14 | return the element at index(your return is the first element) | 0 | the implement is not required | 14 | the value of each element is equal to its index+1(should be a[i]=i+1 | ||||||||||||||
136944185 | 0 | ||||||||||||||||||||||||||
46842597 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
797644820 | 0 | ||||||||||||||||||||||||||
820823230 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
440629274 | 0 | ||||||||||||||||||||||||||
274640151 | 30 | 3 | 1.c1,c2…are variables and not declared. 2.the return type is not right. 3.the implementation is not required | 3 | the implementation is not required | 0 | undo | 10 | 1.the implementation is not required. | 14 | 1using == instead of = | 0 | the implementation is not required. | ||||||||||||||
643926264 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
963525279 | 21 | 13 | 1.using another variable whose type is char | 5 | 1.no return value2.no need to redeclare the parameter3.when the index is even, a value should be changed to lowcase 4.if(i%2==0) | 3 | 1.returning a string instead of char 2.no need to redeclare the parameter3.when the index is even, a value should be changed to lowcase 4.if(i%2==0)5.the s have been decared two times | 0 | The implement is not required | 0 | The implement is not required | 0 | The implement is not required | ||||||||||||||
291920226 | 94 | 16 | 16 | 17 | 17 | 17 | 11 | 1.missing the initializing the value of each element.2. returning the value | |||||||||||||||||||
354557985 | 69 | 12 | 1.returning the value and not displaying it. 2. the grade is a integer variable, the required return type is cha | 16 | 17 | 10 | the implementation is not required | 0 | the implementation is not required | 14 | the initialization is not right. X[i]=i+1; | ||||||||||||||||
341620989 | 37 | 7 | 1.the required return type is cha 2. p is a local variable. Its value is unknown | 3 | the implementation is not required | 0 | the implementation is not required | 0 | 1. a is a integer pointer. 2.redeclaring the parameter.3 the implementation is not required | 17 | 10 | 1.the variables a and s do not declare.2. the implementation is not required | |||||||||||||||
586045150 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
676645124 | 62 | 13 | using && instead of || | 16 | 17 | 0 | the implementation is not required | 0 | undo | 16 | return a not NULL | ||||||||||||||||
161622281 | 0 | ||||||||||||||||||||||||||
94352985 | 30 | 7 | 1.grade is an integer not a char. 2. A,B,… are variables | 2 | the implementation is not right(the usage of for and if statements | 2 | the implemenation is not right(the usage of for and if statement) | 14 | return the element at index(your return is the first element) | 0 | the implementation is not required | 5 | 1. the A is a varaible not
declared.2 valuenewArray is a varaible not declared.3.the implemenation is
not required 4. return newArray; return valuenewArray; return null; is nonsense |
||||||||||||||
999043859 | 15 | 0 | 1.grade is an integer 2.the implementation is not required | 2 | 1.the redeclare the parameter c. 2 .the implementation is not required. | 2 | the implementation is not required | 0 | the implementation is not required | 0 | the implementation is not required | 11 | 1.need to return a variable 2.the intialization of the each element is not right | ||||||||||||||
879744128 | 3 | 3 | 1.what is the numberToLetterGrade(function or variable) 2. A,B,C ..are variables | 0 | the implementation is not required | 0 | undo | 0 | undo | 0 | undo | 0 | undo | ||||||||||||||
304156914 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||
829325238 | 100 | 16 | 16 | 17 | 17 | 17 | 17 | ||||||||||||||||||||