1 1 1 1
.
1 1 1 0
.
*** 1 1 1 0 test. ??? Percentage underwater was 1.00, ??? should have been 0.0. *** 1 1 1 0 test. ??? Output expected from std-out, ??? none produced.
1 2 1 2 1
.
1 2 1 2 100
?
1 2 1 2 200
; double the rain.
1 1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 1 1 1 1 1 1 30x100 region
1 1 1 0 1 1 0 100 1 2 0 2 100 2 2 0 2 2 2 100 2 2 0 2 2 0 100 2 2 0 0 2 0 100 2 2 2 2 2 2 100 3 3 25 37 45 51 12 34 94 83 27 10000
big.1
in the assignment directory.
big.2
in the assignment directory.
int main() unsigned cnt, rainfall; int * elevations = 0, rv = EXIT_SUCCESS; try // blah blah catch (std::string emsg) std::cerr << "!!! " << emsg << ".\n"; rv = EXIT_FAILURE; delete [] elevations; exit(rv); // compute_waterLevel(*elevations, cnt); return 0;
*** 500,000 timing test test. ??? Unexpected output from std-err (between --): -- ../../test-code: line 230: 5422 Killed ./$pgm --
*** 2 2 0 0 2 0 100 test. ??? Unexpected Percentage underwater format, expecting 0.33. ??? "0.333333" *** 2 2 2 2 2 2 100 test. ??? Unexpected Percentage underwater format, expecting 2.25. ??? "4.87394e-270"