For me, how quickly off topic A

For me, how quickly cheat points A off topic

This is about the experience of a konjac, please exhibitions!

1. Description

Most topics are explained. Here at the small brick X points for example. At the prompt (description) can be seen in this description:

  • Data for 30%, N = 1.
  • For 60% of the data, all Ki are equal.
  • To 100% of the data, 1≤N≤100000, 1≤Ki≤1000000000, the total number of blocks of not more than 1 billion bricks.

Then, I was surprised to find: I can not write this question. Thus, the explanation comes in handy!

  • Data for 30%, N = 1.
    In the case where N = 1, indicating only a period, then the total number of Japanese sentence output bricks on it.

code show as below:

if(n==1)
    {
        int ttt;
        cin>>ans>>ttt;
        printf("%d",ans);
        return 0;
    }

Then, it is so easy scored 30 points. address

Although there is no score, but 30 points better than okay ...... 0

In short, the data is a good thing!

2. Your comment Valley area

Valley in the comments area you can always find something magical. The P1547 Out of Hay

In the beginning of time writing this question, but the direct use of the minimum spanning tree. However, after opening in the comments section habitual place .......

RT

Then put the P1111 plus the judgment of the dalao, then perfect AC! ؏؏☝ᖗ Ya Ya ᖘ☝؏؏ ◡

address

In short, the comments section will be pleasantly surprised! (Of course, the code can not be directly copied oh!)

3. play table

This would not have said it .......

000001 CF409F , their own experience.

summary

Play table plus violent,

Cheat divided over the sample.

Violence miracle,

Striking expression Shoichi.

The first time to write articles well written thanking you in advance!

Guess you like

Origin www.cnblogs.com/O52LuoTianYi/p/11388099.html