結果
問題 |
No.1413 Dynamic Sushi
|
ユーザー |
|
提出日時 | 2021-02-28 19:11:00 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 843 bytes |
コンパイル時間 | 3,011 ms |
コンパイル使用メモリ | 79,024 KB |
実行使用メモリ | 42,044 KB |
最終ジャッジ日時 | 2024-10-02 21:53:05 |
合計ジャッジ時間 | 7,411 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 25 |
ソースコード
import java.util.*; class Main { public static void main(String[] args) { new Main().run(); } void run() { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int W=sc.nextInt(); int[] X=new int[N]; int[] Y=new int[N]; int[] R=new int[N]; int[] V=new int[N]; int[] A=new int[N]; for (int i=0;i<N;++i) { X[i]=sc.nextInt(); Y[i]=sc.nextInt(); R[i]=sc.nextInt(); V[i]=sc.nextInt(); A[i]=sc.nextInt(); assert(-100<=X[i]&&X[i]<=100); assert(-100<=Y[i]&&Y[i]<=100); assert(1<=R[i]&&R[i]<=100); assert(-360<=V[i]&&V[i]<=360); assert(0<=A[i]&&A[i]<=359); assert(Math.abs(R[i]*V[i]*Math.PI/180)<W); } } void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));} }