Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119326 王培臻 07苹果和虫子 C++ Compile Error 0 MS 0 KB 229 2025-05-17 14:01:19

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,s,d; cin>>a>>s>>d; if(y/x>=n ){ }else{ if(a%s==0){ cout<<(a-s/d); }else{ cout<<(a-s/d-1); } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'y' was not declared in this scope
  if(y/x>=n ){
     ^
Main.cc:8:7: error: 'x' was not declared in this scope
  if(y/x>=n ){
       ^
Main.cc:8:10: error: 'n' was not declared in this scope
  if(y/x>=n ){
          ^