Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72650 刘浩宇 青蛙跳台阶 C++ Compile Error 0 MS 0 KB 142 2024-05-12 10:57:36

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long a; cin>>a; cout<<long long (pow(2,a-1)); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:8: error: expected primary-expression before 'long'
  cout<