Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
368773 徐嘉豪 【C1-3】矩形的面积与周长 C++ Wrong Answer 0 2 MS 244 KB 320 2025-12-18 15:19:09

Tests(0/2):


#include <iostream> #include <iomanip> using namespace std; int main() { double length, width; double perimeter = 2 * (length + width); double area = length * width; cout << fixed << setprecision(2); cout << perimeter << endl; cout << area << endl; return 0; }


Judgement Protocol: