摘要:
#include #include #include #include using namespace std; int cmp(int x,int y) { return x>y; } int main() { int n,m; int sum1=0,sum2=0; int a[20],b[20]; maps;... 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; mapvis; int main() { int n,m,a[100001]={0},j,temp=0,i,k,pre[100001]={0}; cin>>n; int sum=0; for(i=1;i>a[i]; ... 阅读全文
摘要:
A shipment of Nlogs, the main export product from Nlogonia, is in the harbour, in containers, readyto be shipped. All containers have the same dimensi 阅读全文
摘要:
Ann and Borya have n piles with candies and n is even number. There are ai candies in pile with number i. Ann likes numbers which are square of some i 阅读全文
摘要:
Pavel had two positive integers a and b. He found their sum s and greatest common divisor g, and forgot a and b after that. Help him to restore the or 阅读全文