Search found 1 match

by da0321
Sat Mar 05, 2011 7:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10083 - Division
Replies: 12
Views: 5910

Re: 10083 - Division

i use zoranh's algorithm, but i have no idea why i always got WA?? #include<iostream> #include<cmath> #define digitMax 101 using std::cin; using std::cout; using std::endl; int main(){ int t, a, b; int ans[digitMax], divisor[digitMax], tmp[digitMax]; int i, j, k, count, bit; while(cin>>t>>a>>b){ if(...

Go to advanced search