結果

問題 No.414 衝動
ユーザー jjjj
提出日時 2016-08-26 22:22:47
言語 Fortran
(gFortran 13.2.0)
結果
RE  
実行時間 -
コード長 209 bytes
コンパイル時間 408 ms
コンパイル使用メモリ 30,708 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-25 22:49:50
合計ジャッジ時間 1,885 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

program main
  implicit none
  integer::N,i
  read *,N
  do i=2,N-1
     if(MOD(N,i).eq.0) then
        print '(i0," ",i0)',N/i,i
        return
     end if
  end do
  print '(i0," ",i0)',1,N
end program main
0