結果
| 問題 |
No.939 and or
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-02 02:01:18 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 56 bytes |
| コンパイル時間 | 2,083 ms |
| コンパイル使用メモリ | 163,084 KB |
| 最終ジャッジ日時 | 2024-07-05 13:28:39 |
| 合計ジャッジ時間 | 2,660 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:229:7: error: call of overloaded ‘wt_L(long int)’ is ambiguous
229 | wt_L(a&~b?0:-~(1L<<BIT_popcount_L(b-a))/2);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:72:13: note: candidate: ‘void wt_L(char)’
72 | inline void wt_L(const char a){
| ^~~~
main.cpp:75:13: note: candidate: ‘void wt_L(int)’
75 | inline void wt_L(int x){
| ^~~~
main.cpp:97:13: note: candidate: ‘void wt_L(unsigned int)’
97 | inline void wt_L(unsigned x){
| ^~~~
main.cpp:111:13: note: candidate: ‘void wt_L(long long int)’
111 | inline void wt_L(long long x){
| ^~~~
main.cpp:133:13: note: candidate: ‘void wt_L(long long unsigned int)’
133 | inline void wt_L(unsigned long long x){
| ^~~~
main.cpp:154:13: note: candidate: ‘void wt_L(double)’
154 | inline void wt_L(double x){
| ^~~~
ソースコード
{ll a,b;rd(a,b);wt(a&~b?0:-~(1L<<BIT_popcount(b-a))/2);}