結果

問題 No.2515 Similar Triangles
コンテスト
ユーザー ゆうP
提出日時 2024-05-17 23:14:26
言語 Go
(1.26.1)
コンパイル:
env GOCACHE=/tmp go build _filename_
実行:
./Main
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 205 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 14,869 ms
コンパイル使用メモリ 276,188 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2026-05-27 14:16:48
合計ジャッジ時間 16,057 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

// No.2515 Similar Triangles
package main

import "fmt"

func main() {
	var x1, y1, x2, y2, x3 int
	fmt.Scan(&x1, &y1, &x2, &y2, &x3)
	if y1 == y2 {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}
0