-3
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
double n,m,a, count=0;
cin>>n>>m>>a;
double length=n;
while(m>0)
{
while(n>0)
{
count=count+1;
n=n-a;
}
m=m-a;
n=length;
}
cout<<count;
getch();
return 0;
}
樣品輸入數據類型來存儲的值
6 6 4
輸出
4 (working fine)
樣品輸入
1000000000 1000000000 13
輸出
超過20位的數字___ no output
意味着它工作正常,具有「計數」值的小範圍。如果值超出限制,則不會打印任何內容。我嘗試了所有的價值觀。請幫我
請**用[mcve]或[SSCCE(Short,Self Contained,Correct Example)](http://sscce.org)**您的問題 – NathanOliver
在網上搜索「BigInt」 –
也許這只是需要一段時間,你有沒有試過等待? – yizzlez