結果
| 問題 |
No.3153 probability max K
|
| コンテスト | |
| ユーザー |
Ponzu
|
| 提出日時 | 2025-05-20 21:44:16 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 327 bytes |
| コンパイル時間 | 3,643 ms |
| コンパイル使用メモリ | 190,712 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2025-05-20 21:44:23 |
| 合計ジャッジ時間 | 5,780 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | WA * 20 |
ソースコード
#include<iostream>
#include<vector>
#include<math.h>
#include<iomanip>
#include<numeric>
#include<atcoder/all>
using mint = atcoder::modint998244353;
using namespace std;
int main() {
int N,K;cin>>N>>K;
mint sum = 0;
for(int i=0;i<N;++i){
int a;cin>>a;
sum+=a;
}
mint ans = sum / (K*N);
cout << ans.val() << endl;
}
Ponzu