Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137438 刘浩宇 07苹果和虫子 C++ Compile Error 0 MS 0 KB 148 2025-11-17 17:11:56

Tests(0/0):


Code:

int main(){ int n,x,y; cin>>n>>x>>y; if(y/x>0){ if(y/x<n){ cout<<n-n/y*x; }else{ cout<<0; } }else{ cout<<n; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:3:5: error: 'cin' was not declared in this scope
     cin>>n>>x>>y;
     ^
Main.cc:6:3: error: 'cout' was not declared in this scope
   cout<