Modular multiplication of polynomials
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 4289
Accepted: 1944
Description
Consider polynomials whose coefficien...
分类:
其他好文 时间:
2015-08-11 12:20:47
阅读次数:
133
Multiplication Puzzle
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7118
Accepted: 4385
Description
The multiplication puzzle is played with a row of c...
分类:
其他好文 时间:
2015-08-10 12:04:45
阅读次数:
154
L - Optimal Array Multiplication Sequence
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld
& %llu
Submit Status Practice UVA
348
Appoint description:
acmparand (2013-08-02...
分类:
其他好文 时间:
2015-08-09 20:41:53
阅读次数:
115
用栈来处理一下就好了。#include#include#include#include#includeusing namespace std;struct Mar{ int r,c;} mar[3000000];int n;char s[100000];int r,c,top,flag;Mar...
分类:
其他好文 时间:
2015-08-08 22:34:24
阅读次数:
144
Description
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponenti...
分类:
其他好文 时间:
2015-08-07 20:04:56
阅读次数:
132
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:
编程语言 时间:
2015-08-07 12:49:07
阅读次数:
120
区间DP基础题
只贴代码
#include
#include
#include
#include
using namespace std;
#define maxn 0xfffffff
int main()
{
int n,i,j,k,l;
int num[1111],dp[1111][1111];
scanf("%d",&n);
...
分类:
其他好文 时间:
2015-08-04 21:08:31
阅读次数:
138
Problem Definition:Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily lar...
分类:
其他好文 时间:
2015-08-04 17:07:12
阅读次数:
112
A multiplication algorithm is an algorithm (or method) to multiply two numbers. Depending on the size of the numbers, different algorithms are in use....
分类:
其他好文 时间:
2015-08-03 16:35:17
阅读次数:
104
题目链接:http://poj.org/problem?id=1651题意:初使ans=0,每次消去一个值,位置在pos(pos!=1 && pos !=n)
同时ans+=a[pos-1]*a[pos]*a[pos+1],一直消元素直到最后剩余2个,求方案最小的ans是多少?代码:#include
#include
#include
#inc...
分类:
其他好文 时间:
2015-08-03 06:44:49
阅读次数:
283