|
|
back to boardWhat mean output limit exceeded Posted by sid364 22 Jan 2012 16:37 #include<math.h> #include<vector> #include<stdio.h> using namespace std; int main() { vector<double> d; double f; while (scanf("%f",&f)!=EOF) { d.push_back(f); } vector<double>::iterator p=d.end()-1; while (p!=d.begin()) { printf("%11.4f",*p); } return 0; } |
|
|