結果

問題 No.2344 (l+r)^2
ユーザー ytqm3ytqm3
提出日時 2023-06-02 21:30:42
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 420 bytes
コンパイル時間 2,142 ms
コンパイル使用メモリ 201,936 KB
実行使用メモリ 5,328 KB
最終ジャッジ日時 2023-08-28 02:46:50
合計ジャッジ時間 3,118 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
using i64=int64_t;

i64 solve_sub(vector<i64> A,int M){
  while(A.size()>1){
    vector<i64> B(A.size()-1);
    for(int i=0;i<A.size()-1;++i){
      B[i]=(A[i]+A[i+1])*(A[i]+A[i+1])%(1ll<<M);
    }
    A=B;
  }
  return A[0];
}

void solve(){
  int N,M;
  cin>>N>>M;
  vector<i64> A(N);
  for(auto& v:A){ cin>>v; }
}

int main(){
	int T;
	cin>>T;
	while(T--){
		solve();
	}
}
0