結果

問題 No.2515 Similar Triangles
ユーザー 👑 chro_96chro_96
提出日時 2023-10-27 23:27:48
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 1,897 ms
コンパイル使用メモリ 27,116 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-27 23:27:51
合計ジャッジ時間 1,503 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 1 ms
4,348 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 1 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
testcase_07 AC 1 ms
4,348 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main () {
  int x1 = 0;
  int y1 = 0;
  int x2 = 0;
  int y2 = 0;
  int x3 = 0;
  
  int res = 0;
  
  res = scanf("%d", &x1);
  res = scanf("%d", &y1);
  res = scanf("%d", &x2);
  res = scanf("%d", &y2);
  res = scanf("%d", &x3);
  
  if (y1 == y2) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  
  return 0;
}
0