結果
問題 | No.745 letinopia raoha |
ユーザー |
![]() |
提出日時 | 2025-01-10 12:01:55 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 330 bytes |
コンパイル時間 | 20,767 ms |
コンパイル使用メモリ | 230,380 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-01-10 12:02:16 |
合計ジャッジ時間 | 21,596 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 2 WA * 6 |
ソースコード
package main import . "fmt" func main() { var a,b,c,d int64 Scan(&a,&b,&c,&d) if d==10 { Println("Impossible") return } Println("Possible") var s int64 for i:=0;i<int(a+b+c);i++ { if c>0 { c-- } else if b>0 { b-- s+=50*int64(i/100+1) } else if a>0 { a-- s+=100*int64(i/100+1) } } Println(s) }