結果
問題 |
No.687 E869120 and Constructing Array 1
|
ユーザー |
![]() |
提出日時 | 2018-05-30 14:32:15 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 157 ms / 1,000 ms |
コード長 | 360 bytes |
コンパイル時間 | 3,417 ms |
コンパイル使用メモリ | 76,020 KB |
実行使用メモリ | 42,516 KB |
最終ジャッジ日時 | 2024-06-30 08:13:14 |
合計ジャッジ時間 | 5,538 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
import java.util.Scanner; public class No687 { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); for(int i=1;i<=10;i++){ for(int j=1;j<=10;j++){ if(N == (i+j)){ System.out.println(i + " " + j); break; } } } } }