---
title: "water~4"
author: "Midnight0101"
date: "2011-08-06T14:09:05Z"
tags: ["water"]
categories: ["编程语言"]
slug: "water-4"
draft: false
lastmod: "2011-08-06T14:09:05Z"
id: 1141565
url: "https://midnight0101.iteye.com/blog/1141565"
---

poj1004\[url]http://poj.org/problem?id=1004\[/url] super water \[code="c++"] #include using namespace std; int main() { double ans=0; for(int i=0;i&lt;12;i++) { double temp; cin&gt;&gt;temp; ans+=temp; } ans/=12; cout.setf(ios\_base::fixed); cout.setf(ios\_base::showpoint); cout.precision(2); cout&lt;&lt;"$"&lt;