Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99569 殷佳雨萱 n!大于k C++ Compile Error 0 MS 0 KB 184 2024-11-30 11:48:51

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int n,k,a=1; cin>>k; n = 0; with(a<=k){ n++; a = a*n; } cout<<n; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:14: error: 'with' was not declared in this scope
     with(a<=k){
              ^