Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
90321 余厚泽 07交换数据II C++ Compile Error 0 MS 0 KB 176 2024-09-11 19:16:51

Tests(0/0):


Code:

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


Run Info:

Main.cc:15:2: error: expected unqualified-id before 'return'
  return 0;
  ^
Main.cc:16:1: error: expected declaration before '}' token
 }
 ^