結果
問題 | No.2515 Similar Triangles |
ユーザー | heno239 |
提出日時 | 2024-02-06 17:43:50 |
言語 | C# (.NET 8.0.203) |
結果 |
AC
|
実行時間 | 68 ms / 2,000 ms |
コード長 | 1,027 bytes |
コンパイル時間 | 5,999 ms |
コンパイル使用メモリ | 156,748 KB |
実行使用メモリ | 179,928 KB |
最終ジャッジ日時 | 2024-02-06 17:43:59 |
合計ジャッジ時間 | 7,563 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 65 ms
32,548 KB |
testcase_01 | AC | 64 ms
32,548 KB |
testcase_02 | AC | 64 ms
32,548 KB |
testcase_03 | AC | 61 ms
32,548 KB |
testcase_04 | AC | 64 ms
32,548 KB |
testcase_05 | AC | 63 ms
32,548 KB |
testcase_06 | AC | 65 ms
32,548 KB |
testcase_07 | AC | 63 ms
32,548 KB |
testcase_08 | AC | 68 ms
32,548 KB |
testcase_09 | AC | 62 ms
179,928 KB |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (80 ms)。 MSBuild のバージョン 17.7.3+8ec440e68 (.NET) main -> /home/judge/data/code/bin/Release/net7.0/main.dll main -> /home/judge/data/code/bin/Release/net7.0/publish/
ソースコード
using System.Collections; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; internal class Program { private const long mod = 998244353; private const long mod17 = 1000000007; private const long INF = mod17 * mod17; public static void Main(string[] args) { var line = getar(); if (line[1] == line[3]) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } public class lower_bound<T> : IComparer<T> where T : IComparable<T> { public int Compare(T x, T y) { return 0 <= x.CompareTo(y) ? 1 : -1; } } public static List<T> mkar<T>(int n, T val) { List<T> res = new List<T>(n); for(int i=0;i<n;i++)res.Add(val); return res; } public static int[] getar() { var res = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); return res; } }