diff --git a/AcWing/750/750.cpp b/AcWing/750/750.cpp new file mode 100644 index 00000000..7e751fcb --- /dev/null +++ b/AcWing/750/750.cpp @@ -0,0 +1,17 @@ +#include + +using namespace std; + +int main() { + char op; + cin >> op; + double x, sum = 0; + for (int i = 0; i < 12; i++) { + for (int j = 0; j < 12; j++) { + cin >> x; + if (i > j && i + j > 11) sum += x; + } + } + cout << fixed << setprecision(1) << sum / (op == 'S' ? 1 : 30) << endl; + return 0; +}