摘要:
You guys must have seen nested list (嵌套链表) such as [1, 2, 3, [4, 5, [6, 7]], 8, [9, 0]].So your task is to improve DouList with nested feature. You ca... 阅读全文
摘要:
You'll be given two intergers. The number of the digits of each is from 1 to 200, inclusive. And what you need to do is to culcalate the product of th... 阅读全文
摘要:
Given a b and p, output (a^b) % p (2#include#includeint quick_power(int a,int b,int p){int temp;if(b ==0){return1;} temp = quick_power(a, b /2, p);if(... 阅读全文
摘要:
ConstraintsTime Limit: 1 secs, Memory Limit: 8 MBDescriptionInput A and B, output A+BInputInput two values, A and B.(0#includevoid init(int*arr,int*le... 阅读全文