結果
| 問題 | No.3633 Rabbit and turtle |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2026-08-21 22:23:09 |
| 言語 | cLay (20250308-1 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 13 ms / 2,000 ms |
| + 276µs | |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 3,756 ms |
| コンパイル使用メモリ | 191,160 KB |
| 実行使用メモリ | 9,348 KB |
| 最終ジャッジ日時 | 2026-08-21 22:23:22 |
| 合計ジャッジ時間 | 4,653 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 16 |
ソースコード
ll@t;
rep(t){
ll@(a,b,d,r);
ll x=r*a-(d+r)*b;
if(!x){
ll n=powmod(10,100,d+r);
ll t=bsearch_max[ll,t,0,n](t*d-(n-t)*r<=d);
x=t*a-n*b;
}
wt(x>0?"rabbit":x<0?"turtle":"tie");
}
tails