結果

問題 No.2742 Car Flow
ユーザー 👑 p-adicp-adic
提出日時 2024-04-23 10:01:05
言語 cLay
(20240104-1)
結果
CE  
実行時間 -
コード長 69 bytes
コンパイル時間 3,882 ms
コンパイル使用メモリ 165,276 KB
最終ジャッジ日時 2024-04-23 10:01:10
合計ジャッジ時間 4,795 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp: In instantiation of ‘typename cLtraits_common_type<S, T>::type min_L(S, T) [with S = Mint; T = Mint; typename cLtraits_common_type<S, T>::type = Mint]’:
main.cpp:477:13:   required from here
main.cpp:29:55: error: ambiguous overload for ‘operator<=’ (operand types are ‘Mint’ and ‘Mint’)
   29 |   return (typename cLtraits_common_type<S,T>::type) a <= (typename cLtraits_common_type<S,T>::type) b ? a : b;
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:29:55: note: candidate: ‘operator<=(long long int, long long int)’ (built-in)
main.cpp:29:55: note: candidate: ‘operator<=(long long int, int)’ (built-in)
main.cpp:29:55: note: candidate: ‘operator<=(int, long long int)’ (built-in)
main.cpp:29:55: note: candidate: ‘operator<=(int, int)’ (built-in)

ソースコード

diff #

#define MD 998244353
ll@N;Mint M=0;rep(N)M+=rd_ll();wt(min(M,N-M)/N);
0