Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144922 徐启航 07苹果和虫子 C++ Wrong Answer 0 MS 276 KB 416 2026-01-24 19:37:41

Tests(5/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<ctime> #include<cstdlib> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,x,y,z,m; cin>>n>>x>>y; if(y%x!=0) m=y/x+1; else if(y%x==0) m=y/x; cout<<n-m<<endl; return 0; }


Run Info:

------Input------
5 1 12
------Answer-----
0
------Your output-----
-7