Submission #00075
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #include<bits/stdc++.h> #define F first #define S second #define endl '\n' #define MP make_pair #define pb push_back using namespace std; typedef pair< int , int > P; typedef pair< int , P> i_P; typedef long long LL; static const int INF = INT_MAX; static const int MIN = INT_MIN; static const LL L_INF = LLONG_MAX; static const int MOD = 1000000000 + 7; static const int SIZE = 100005; int main() { cin.tie(0); ios::sync_with_stdio( false ); LL a, n; cin >> a >> n; for ( int i = 0; i < n; ++i ) { int x; cin >> x; cout << 2 * a * x << endl; } return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0009 - 非同盟主義 |
ユーザー名 | crom |
投稿日時 | 2019-05-27 17:19:00 |
言語 | C++11 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 642 Byte |
最大実行時間 | 150 ms |
最大メモリ使用量 | 27008 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in01 | AC | 22 ms | 472 KB |
1
|
in02 | AC | 51 ms | 552 KB |
1
|
in03 | AC | 27 ms | 636 KB |
1
|
in04 | AC | 22 ms | 592 KB |
1
|
in05 | AC | 16 ms | 548 KB |
1
|
in06 | AC | 20 ms | 624 KB |
1
|
in07 | AC | 27 ms | 568 KB |
1
|
in08 | AC | 150 ms | 12296 KB |
1
|
in09 | AC | 38 ms | 13264 KB |
1
|
in10 | AC | 51 ms | 14872 KB |
1
|
in11 | AC | 16 ms | 14944 KB |
1
|
in12 | AC | 21 ms | 15020 KB |
1
|
in13 | AC | 150 ms | 26872 KB |
1
|
in14 | AC | 21 ms | 26820 KB |
1
|
in15 | AC | 27 ms | 26644 KB |
1
|
in16 | AC | 25 ms | 26852 KB |
1
|
in17 | AC | 23 ms | 26800 KB |
1
|
in18 | AC | 22 ms | 27008 KB |
1
|
in19 | AC | 29 ms | 26952 KB |
1
|
in20 | AC | 17 ms | 26904 KB |
1
|