Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118073 何旻慧 07苹果和虫子 C++ Wrong Answer 1 MS 268 KB 527 2025-04-23 18:46:58

Tests(4/10):


Code:

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


Run Info:

------Input------
453 8 30
------Answer-----
449
------Your output-----
444