段落填空 A loud sound flyng over your head could o
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了段落填空 A loud sound flyng over your head could o相关的知识,希望对你有一定的参考价值。
段落填空
A loud sound flyng over your head could only mean _(1)_ thing ---anairplane is passing by Airlanes are a marvel of modern tecnology _(2)_ nobody ever thought anything so big and heavy could fly in the sky.
(1)
a.) a
b.) ont
c.) the
d.) it
(2)
a.) due to
b.) because of
c.) because
d.) although
B. one
C. because
(°ο°)第一題為什麼不是用a
(°ο°) 第二題求翻譯
翻译过来是,头顶上有很大的声音,只能一味着一件事,那就是有飞机灰过。这样的句子是指明的某一件事,所以要用one, 用a是一般是泛指。
2的翻译是:灰机是现代技术的奇迹,因为没有人曾想过如此大和重的家伙能飞上天空。
due to 和because of 右面要跟短语,名词或从句。只有because和although可以填,但如果填although的话,翻译起来有点儿别扭:
灰机是现代技术的奇迹,尽管没有人曾想过如此大和重的家伙能飞上天空。
你说呢?
*_*好厲害 真詳細
追答不客气,请采纳。谢谢!
参考技术A 第一题选B,应该是one才对吧,有没有打错?第二题选D追问*ω*我打錯 是one。。。
One/a thing要怎麼分辨
Our Tanya is Crying Out Loud
Right now she actually isn‘t. But she will be, if you don‘t solve this problem.
You are given integers n, k, A and B. There is a number x, which is initially equal to n. You are allowed to perform two types of operations:
- Subtract 1 from x. This operation costs you A coins.
- Divide x by k. Can be performed only if x is divisible by k. This operation costs you B coins.
The first line contains a single integer n (1 ≤ n ≤ 2·109).
The second line contains a single integer k (1 ≤ k ≤ 2·109).
The third line contains a single integer A (1 ≤ A ≤ 2·109).
The fourth line contains a single integer B (1 ≤ B ≤ 2·109).
Output a single integer — the minimum amount of coins you have to pay to make x equal to 1.
9
2
3
1
6
5
5
2
20
8
19
3
4
2
12
In the first testcase, the optimal strategy is as follows:
- Subtract 1 from x (9 → 8) paying 3 coins.
- Divide x by 2 (8 → 4) paying 1 coin.
- Divide x by 2 (4 → 2) paying 1 coin.
- Divide x by 2 (2 → 1) paying 1 coin.
The total cost is 6 coins.
In the second test case the optimal strategy is to subtract 1 from x 4 times paying 8 coins in total.
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #include <cstdio> #include <cstring> #include <numeric> #include <cmath> #include <unordered_set> #include <unordered_map> //#include <xfunctional> #define ll long long #define mod 1000000007 using namespace std; int dir[4][2] = { { 0,1 },{ 0,-1 },{ -1,0 },{ 1,0 } }; const long long INF = 0x7f7f7f7f7f7f7f7f; const int inf = 0x3f3f3f3f; int main() { ll n, k, A, B; ll res=0; cin >> n >> k >> A >> B; if (k == 1) cout << (n - 1)*A; else { while (n != 1) { if (n < k) { res += (n - 1)*A; n = 1; } else { if (n%k > 0) { res += (n%k)*A; n -= n%k; } if ((n - n / k)*A > B) { res += B; n /= k; } else { res += (n - n / k)*A; n /= k; } } } cout << res; } return 0; }
以上是关于段落填空 A loud sound flyng over your head could o的主要内容,如果未能解决你的问题,请参考以下文章
940B Our Tanya is Crying Out Loud