結果
| 問題 | 
                            No.5008 [Cherry Alpha] Discrete Pendulum with Air Resistance
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-10-01 20:52:59 | 
| 言語 | C++23  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 380 bytes | 
| コンパイル時間 | 2,797 ms | 
| 実行使用メモリ | 6,952 KB | 
| スコア | 852,658,493,253,732 | 
| 最終ジャッジ日時 | 2022-10-14 21:15:36 | 
| 合計ジャッジ時間 | 11,419 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge14 / judge13 | 
| 純コード判定しない問題か言語 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 50 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int n,k;
  cin >> n >> k;
  vector<int> t(k),u(k);
  for(auto &nx : t){cin >> nx;}
  for(auto &nx : u){cin >> nx;}
  for(int i=0;i<n;i++){
    int b,m,e;
    if(i%2){b=2;m=1;e=1;}
    else{b=1;m=1;e=1;}
    cout << b << " " << m << " " << e << "\n";
  }
  return 0;
}