美国《shoot on your face》杂志刊登的一款PVS-14整合Iphone 4s转接

AN/PVS-18 Night Vision System, MonocularL-3 EOS AN/PVS-18 单筒夜视系统是一种类似于AN/PVS-14，AN/PVS-18的定位是属于海军系统使用的，所以一般很少见到出现在陆军地面

My World Cup

问题描述 :

美国《shoot on your face》杂志刊登的一款PVS-14整合Iphone 4s转接

AN/PVS-18 Night Vision System, MonocularL-3 EOS AN/PVS-18 单筒夜视系统是一种类似于AN/PVS-14，AN/PVS-18的定位是属于海军系统使用的，所以一般很少见到出现在陆军地面部队的照片里面，单价也比AN/PVS-14贵上3000USD以上，所以就更少见了。首先AN/PVS-18本身的设计真的很紧致，分别为物镜，镜筒本体和接目镜仅三样组件便可完成一组PVS-18外壳。镜筒本体包含电池盒，本体接缝也完全上封胶成为密封状态，本体外有两个固定座，分别供左眼或右眼使用而非PVS-14转动转接座来切换，基本而言PVS-18的固定座设计上会比PVS-14要来的坚固。PVS-18 与 PVS-14体积比较。外观:接物镜：接物进外观跟AN/AVS-61外观相似。接目镜：电池盖：清洁阀螺丝：IR辅助光源：固定座：AN/PVS-18本体有两处固定座供左眼使用或右眼使用时安装，原先固定座也是工业胶料製作，笔者看过部分放出品的固定座几乎都有断裂的情形，图中的AN/PVS-18的固定座已经採金属製品。控制开关：AN/PVS-18的控制开关左右各分为两段，虽然有ON和IR的功能但是作用的方式却有些不同，其功能说明如下：OFF：电源关闭。以下为手持状态时或头戴时皆可使用，须先按下开关才切换的过去。ON：电源开啓IR：辅助光源全时开啓以下必须安装在头戴座或夜视镜架上才会有作用，若未安装在头戴座或夜视镜架上即使开啓电源也不会有作用：

My World Cup is a fantastic board game. In this game, controlled by two
players respectively, two different soccer teams meet each other in
World Cup final. So, both sides are trying their best to win.

Alice and Bob are addicted to My World Cup recently. They always play
together. Alice wants to figure out the probability of her winning. She
turns to you for help.

ON：AN/PVS-18电源开啓，当将头戴座或夜视镜镜臂折叠收起时会自动关闭电源，将镜臂放下来时会自动啓动电源。IR：辅助光源暂时开啓，当手指离开开关的时候，开关会弹回到ON的位置。

First of all, you must be familiar with the special dice and cards for My World Cup.

遮眼罩：影像增幅管:L-3 MX-10160，M851，M890AN/PVS-18使用的影像增幅管型号为M851或M890军用名称为MX-10160。M851为黑色外壳可出口版本，M890则为航空用等级外观为一般所见的银色外壳。跟ITT的F9800系列光电管是相同的，美国市面上有採用ITT MX-10160的PVS-18和PVS-15价格上也较直接使用L-3自家的IIT要来的便宜。但并非因为价格便宜就代表品质较差。配件：防雾镜：AN/PVS-18的防雾镜片是锁在接目镜上，而非PVS-14和PVS-7的压入固定的方式，所以安装防雾镜片的话就无法安装遮眼罩。防雾镜片安装示意图使用手册武器固定座：Wilcox Indust Inc.所生产的AN/PVS-18武器固定座，非附属品。武器座安装范例Wilcox 滤镜：Wilcox Indust Inc.所生产的滤镜，可以减低夜视镜绿色光线曝光，也可见防止长时间使用夜视镜时造成眼睛的不适。

The dice is six-sided. Two faces have a ball on them, while the other four faces do not. Dice is an important accessory for My World Cup.

There are many cards in My World Cup. Each card belongs to one of four types: foul, offense, defense, and attack. As well, each card has speed and power.

When two cards from different sides meet, both of them may take some effect, which depends on both cards’ type:

No matter your side is home or away,1. If your card is an offense:If the other card is a foul, your card has no effect. Otherwise, your team can have a shoot of your card’s power. A shoot of power k means that you can throw the dice for k times (or do nothing while k is less or equal to zero) . If a ball on the dice is face up for one or more times, your team will score one goal; otherwise, you get nothing. But please note that if the other card is a defense, then before your shoot, your card’s power will be reduced by the defense card’s power.

If your card is a defense:If the other card is an attack, you will make a rapid counter-attack. In the rapid counter-attack, your team will have a shoot of your card’s power minus the attack card’s power.

If your card is an attack:Assume that your card’s power is P1 and the other card’s power is P2. If the other card is a foul, your card will have no effect. If the other card is a defense, your team will score max{ P1-P2,0} goals. Otherwise your team will score P1 goals.

If your card is a foul:You must throw a dice. If a ball on the dice is face up, your opponent will gain a penalty kick(A penalty kick is regarded as a shoot of power 3); otherwise, your card has no effect.

The game’s process in detail is going to be explained below.

Preparation: One player is decided to be home and the other is away. Each player has five cards, four are on the field, one is off the field.

During each turn: Each player selects one card with the largest speed value on his own field. If two or more cards meet the conditions, he can choose anyone among them. Choose the one with larger speed value among two cards selected from step to be the main card. If two cards have the same speed, the one comes from the home team will be chosen. The owner of the main card can choose one card as the subordinate card among the cards in the opponent’s field( including the card selected from step by the opponent). The main card and the subordinate card meet each other and both take their effects. Both the main card and the subordinate card are removed from the field.

After four turns, there is no card on the field. At this time, if a team scores more goals than the other, the victory are theirs. However, if both teams score an equal number of goals, an extra time will be added – each player should put his last card on the field, and the game continues for one more turn.

If the game ends as a draw even after the extra time, well, an exciting penalty shoot-out is used to determine the winner: Teams take turns to take penalty kicks, until each has taken five kicks. However, if one side has scored more goals than the other could possibly reach with all of its remaining penalty kicks, the shoot-out ends immediately. If the teams still have scored an equal number of goals at the end of these five rounds of penalty kicks, sudden death rounds of one penalty kick each are used, until one side scores and the other does not. The team scores more goals at last is the winner.

Now, give you the full information of Alice’s and Bob’s cards, can you calculate the probability of Alice’s winning while both of them are taking optimal strategy to win the game. Note that Alice is always home.

输入:

The input begins with a line containing an integer T (1 <= T <=
30), the number of test cases.

Each test case contains 10 lines. Each line contains three integers t, s
and p (0 <= t <= 3, 1 <= s <= 10, 0 <= p <= 9)
indicating a single card’s information — t is the type (0 for foul, 1
for offense, 2 for defense, and 3 for attack), s is the speed, and p is
the power of the card. The first five cards belong to Alice (first four
are on the field and the fifth is off the field), and the last five
cards belong to Bob (also first four are on the field and the fifth is
off the field initially).

输出:

The input begins with a line containing an integer T (1 <= T <=
30), the number of test cases.

Each test case contains 10 lines. Each line contains three integers t, s
and p (0 <= t <= 3, 1 <= s <= 10, 0 <= p <= 9)
indicating a single card’s information — t is the type (0 for foul, 1
for offense, 2 for defense, and 3 for attack), s is the speed, and p is
the power of the card. The first five cards belong to Alice (first four
are on the field and the fifth is off the field), and the last five
cards belong to Bob (also first four are on the field and the fifth is
off the field initially).

样例输入:

21 6 43 6 12 7 33 5 10 9 02 5 53 3 22 6 43 3 22 5 53 6 13 6 13 6 13 6 13
6 23 6 13 1 33 6 13 6 13 6 1

样例输出:

40

本文由248vip永利集团[www.248cc.com]永利国际app发布于军事形势,转载请注明出处：play-My World Cup

TAG标签：