結果
| 問題 |
No.1658 Product / Sum
|
| コンテスト | |
| ユーザー |
bal4u
|
| 提出日時 | 2021-08-28 16:54:39 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 252 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 28,288 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-21 21:06:49 |
| 合計ジャッジ時間 | 1,780 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
// yuki 1658 Product / Sum
// 2021.8.28
#include <stdio.h>
typedef long long ll;
int main() {
int N, K;
scanf("%d%d", &N, &K);
N -= 2;
printf("%lld %lld", 2*(ll)K, 2*(ll)K+N);
while (N--) putchar(' '), putchar('1');
putchar('\n');
return 0;
}
bal4u