サイトのタイトルを書きます。

サブタイトルを書きます。

EX4 - ◯年は何秒?

■回答

C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  // 一年の秒数
  int seconds = 365 * 24 * 60 * 60;
 
  // 以下のコメント/* */を消して追記する
  cout << seconds << endl;
  cout << 2*seconds << endl;
  cout << 5*seconds << endl;
  cout << 10*seconds << endl;
}

atcoder.jp