Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2962 | 孙浚轩 | 找路径 | C++ | Wrong Answer | 0 MS | 276 KB | 178 | 2024-03-11 11:41:26 |
#include<iostream> #include<cmath> using namespace std; int main(){ int m,n; cin>>m>>n; double stepcount=m+n-2; cout<<pow(2,stepcount)-1; return 0; }
------Input------
2 3
------Answer-----
3
------Your output-----
7