結果
問題 | No.441 和か積 |
ユーザー | jj |
提出日時 | 2016-11-20 16:59:33 |
言語 | Fortran (gFortran 13.2.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 894 bytes |
コンパイル時間 | 1,576 ms |
コンパイル使用メモリ | 26,940 KB |
実行使用メモリ | 4,504 KB |
最終ジャッジ日時 | 2023-08-26 21:57:44 |
合計ジャッジ時間 | 2,982 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,376 KB |
testcase_01 | WA | - |
testcase_02 | AC | 1 ms
4,376 KB |
testcase_03 | AC | 1 ms
4,376 KB |
testcase_04 | AC | 1 ms
4,376 KB |
testcase_05 | AC | 1 ms
4,376 KB |
testcase_06 | AC | 2 ms
4,376 KB |
testcase_07 | AC | 1 ms
4,380 KB |
testcase_08 | AC | 1 ms
4,376 KB |
testcase_09 | AC | 1 ms
4,380 KB |
testcase_10 | AC | 1 ms
4,380 KB |
testcase_11 | AC | 1 ms
4,376 KB |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | AC | 1 ms
4,376 KB |
testcase_15 | AC | 1 ms
4,380 KB |
testcase_16 | WA | - |
testcase_17 | AC | 1 ms
4,376 KB |
testcase_18 | AC | 1 ms
4,376 KB |
testcase_19 | AC | 1 ms
4,380 KB |
testcase_20 | AC | 1 ms
4,376 KB |
testcase_21 | AC | 1 ms
4,380 KB |
testcase_22 | AC | 1 ms
4,380 KB |
testcase_23 | AC | 1 ms
4,376 KB |
testcase_24 | WA | - |
testcase_25 | AC | 1 ms
4,376 KB |
testcase_26 | AC | 1 ms
4,376 KB |
testcase_27 | AC | 1 ms
4,380 KB |
testcase_28 | AC | 1 ms
4,380 KB |
testcase_29 | AC | 1 ms
4,380 KB |
testcase_30 | AC | 1 ms
4,380 KB |
testcase_31 | AC | 1 ms
4,380 KB |
testcase_32 | AC | 1 ms
4,380 KB |
コンパイルメッセージ
Main.f90:7:15: read(sa,*),a 1 Warning: Legacy Extension: Comma before i/o item list at (1) Main.f90:8:15: read(sb,*),b 1 Warning: Legacy Extension: Comma before i/o item list at (1) Main.f90:24:19: write(sa,*),a 1 Warning: Legacy Extension: Comma before i/o item list at (1) Main.f90:31:19: write(sb,*),b 1 Warning: Legacy Extension: Comma before i/o item list at (1)
ソースコード
program main implicit none character*200::sa,sb integer::a,b,space read *,sa,sb if(LEN_TRIM(sa).eq.1.and.LEN_TRIM(sb).eq.1) then read(sa,*),a read(sb,*),b if(a.eq.0.or.b.eq.0) then if(a.eq.0.and.b.eq.0) then print '(a)',"E" else print '(a)',"S" end if else if(a.eq.1.or.b.eq.1) then print '(a)',"S" else if(a.eq.2.and.b.eq.2) then print '(a)',"E" else print '(a)',"P" end if else if(LEN_TRIM(sa).eq.1) then write(sa,*),a if(a.le.1) then print '(a)',"S" else print '(a)',"P" end if else if(LEN_TRIM(sb).eq.1) then write(sb,*),b if(b.le.1) then print '(a)',"S" else print '(a)',"P" end if else print '(a)',"P" end if end if end program main