結果
問題 | No.2746 Bicolor Pyramid |
ユーザー | tails |
提出日時 | 2024-04-21 11:33:22 |
言語 | cLay (20240714-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 2,317 ms |
コンパイル使用メモリ | 171,040 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-04-21 11:33:27 |
合計ジャッジ時間 | 3,852 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
5,248 KB |
testcase_01 | AC | 2 ms
5,376 KB |
testcase_02 | AC | 1 ms
5,376 KB |
testcase_03 | AC | 2 ms
5,376 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 22 ms
5,376 KB |
testcase_10 | AC | 27 ms
5,376 KB |
testcase_11 | AC | 19 ms
5,376 KB |
testcase_12 | AC | 22 ms
5,376 KB |
testcase_13 | AC | 28 ms
5,376 KB |
testcase_14 | AC | 2 ms
5,376 KB |
testcase_15 | AC | 33 ms
5,376 KB |
testcase_16 | AC | 7 ms
5,376 KB |
testcase_17 | AC | 14 ms
5,376 KB |
testcase_18 | AC | 13 ms
5,376 KB |
testcase_19 | AC | 7 ms
5,376 KB |
testcase_20 | AC | 8 ms
5,376 KB |
testcase_21 | AC | 8 ms
5,376 KB |
testcase_22 | AC | 8 ms
5,376 KB |
testcase_23 | AC | 11 ms
5,376 KB |
testcase_24 | AC | 13 ms
5,376 KB |
testcase_25 | AC | 4 ms
5,376 KB |
testcase_26 | AC | 5 ms
5,376 KB |
testcase_27 | WA | - |
testcase_28 | AC | 17 ms
5,376 KB |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | AC | 15 ms
5,376 KB |
testcase_32 | AC | 7 ms
5,376 KB |
testcase_33 | WA | - |
testcase_34 | AC | 21 ms
5,376 KB |
testcase_35 | AC | 20 ms
5,376 KB |
testcase_36 | AC | 23 ms
5,376 KB |
testcase_37 | AC | 22 ms
5,376 KB |
ソースコード
ll@r,@b; ll f=0,g=1817121; while(f+1<g){ ll x=r,y=b; ll m=f+g>>1; ll i; rrep(i,m+1){ if(x>y){ x-=i*i; if(x<0){ goto dame; } }else{ y-=i*i; if(y<0){ goto dame; } } } if(1){ f=m; }else{ dame:; g=m; } } wt(f);