結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2020-03-20 11:05:53 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 11,887 ms |
コンパイル使用メモリ | 235,028 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-14 04:01:12 |
合計ジャッジ時間 | 12,544 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 6 |
ソースコード
package mainimport ("fmt""strings")// yukikoder N.83 最大マッチング// https://yukicoder.me/problems/no/83func main() {var N intfmt.Scan(&N)ans := strings.Repeat("1", N/2)if N%2 == 1 {ans = ans[:len(ans)-1] + "7"}fmt.Println(ans)}