結果
| 問題 | No.2742 Car Flow |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-04-23 10:01:05 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 69 bytes |
| コンパイル時間 | 3,220 ms |
| コンパイル使用メモリ | 165,056 KB |
| 最終ジャッジ日時 | 2024-10-15 09:54:40 |
| 合計ジャッジ時間 | 3,839 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、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)
ソースコード
#define MD 998244353 ll@N;Mint M=0;rep(N)M+=rd_ll();wt(min(M,N-M)/N);