Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
318 关清声 剪绳子 C++ Wrong Answer 0 MS 264 KB 128 2022-08-07 17:25:29

Tests(1/4):


Code:

#include<iostream> #include<cmath> using namespace std; int main() { int n; cin>>n; cout<<pow(n-1,2)+1; return 0; }


Run Info:

------Input------
3
------Answer-----
9
------Your output-----
5