Financial Management時間限制:3000 ms | 記憶體限制:65535 KB難度:1描述 Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfolio
What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 10424 Accepted Submission(s): 3320Problem DescriptionIgnatius is so lucky that he met a Martian yesterday. But he
吃馬鈴薯時間限制:1000 ms | 記憶體限制:65535 KB難度:4描述 Bean-eating is an interesting game, everyone owns an M*N matrix, which is filled with different qualities beans. Meantime, there is only one bean in any 1*1 grid. Now you want to eat the beans and collect
//cf #163 div 2 A// http://codeforces.com/contest/266/problem/A#include<stdio.h>#include<iostream>using namespace std;char a[55];int main(){ int n,i; //freopen("input.txt","r",stdin); while(scanf("%d%*c",&n)!=EOF){ int
Hat’s WordsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5772 Accepted Submission(s): 2154Problem DescriptionA hat’s word is a word in the dictionary that is the concatenation of exactly
Humble Numbers Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12,