摘要: Chilly Willy loves playing with numbers. He only knows prime numbers that are digits yet. These numbers are 2, 3, 5 and 7. But Willy grew rather bored 阅读全文
posted @ 2016-04-24 18:38 昵称还没有想归一 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Dima got into number sequences. Now he's got sequence a1, a2, ..., an, consisting of n positive integers. Also, Dima has got a function f(x), which ca 阅读全文
posted @ 2016-04-24 18:33 昵称还没有想归一 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Polar bears Menshykov and Uslada from the zoo of St. Petersburg and elephant Horace from the zoo of Kiev decided to build a house of cards. For that t 阅读全文
posted @ 2016-04-24 18:17 昵称还没有想归一 阅读(160) 评论(0) 推荐(0) 编辑
摘要: You've got an array, consisting of n integers a1, a2, ..., an. Also, you've got m queries, the i-th query is described by two integers li, ri. Numbers 阅读全文
posted @ 2016-04-22 21:48 昵称还没有想归一 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Little Girl and Maximum XOR Time Limit: 2000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 276D64-bit integer IO fo 阅读全文
posted @ 2016-04-22 00:11 昵称还没有想归一 阅读(314) 评论(0) 推荐(0) 编辑
摘要: A. Kolya and Tandem Repeat Time Limit: 2000ms Memory Limit: 262144KB 64-bit integer IO format: %I64d Java class name: Any Time Limit: 2000ms Memory Li 阅读全文
posted @ 2016-04-22 00:04 昵称还没有想归一 阅读(218) 评论(0) 推荐(0) 编辑
摘要: You've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has exactly two 阅读全文
posted @ 2016-04-21 23:56 昵称还没有想归一 阅读(294) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int a,b,c; while(scanf("%d %d %d",&a,&b,&c)){ void sort(int *p1,int *p2,int *p3); sort(&a,&b,&c); printf("%d %d %d\n",a 阅读全文
posted @ 2016-04-20 20:38 昵称还没有想归一 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Problem 1001 Duplicate Pair Accept: 5142 Submit: 24343Time Limit: 1000 mSec Memory Limit : 65536 KB Accept: 5142 Submit: 24343Time Limit: 1000 mSec Me 阅读全文
posted @ 2016-04-18 00:47 昵称还没有想归一 阅读(171) 评论(0) 推荐(0) 编辑
摘要: #include int main() { printf("Hello World!\n"); return 0; } 阅读全文
posted @ 2016-04-17 21:35 昵称还没有想归一 阅读(93) 评论(0) 推荐(0) 编辑