Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158682 林睿 破译邮件 C++ Wrong Answer 1 MS 268 KB 436 2026-08-22 16:38:57

Tests(0/1):


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; int main(){ int n,x,y,s; cin>>n>>x>>y; if(y%x!=0){ s=n-y/x-1; } else{ s=n-y/x; } if(y/x>n){ s=0; } cout<<s; return 0; }


Run Info:

------Input------
10 1#2#3#4#5#6#7#8#9#10#11#12#13#14#15#16#17#18#19#20#21#22#23#24#25#26 11-26-4-5######12-2#17-18-19-20## #9-10-11##25#26#1#2#3-1-3-1# #################### 1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26 #####23-24-25-26#1#2#3#4#5#6-7-8-9-10########1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-6 ################26#################### ########1-2##3-4################# 2-24 3#23
------Answer-----
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z KZDE LB QRST IJK Y Z A B CACA ABCDEFGHIJKLMNOPQRSTUVWXYZ WXYZ A B C D E FGHIJ ABCDEFGHIJKLMNOPQRSTUF Z AB CD BX C W
------Your output-----
10