結果

問題 No.427 テレビ
ユーザー hirakich1048576
提出日時 2016-12-07 22:45:46
言語 C90
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 19,328 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-22 20:43:24
合計ジャッジ時間 1,041 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:2:1: warning: data definition has no type or storage class
    2 | i,j;main(){scanf("%d%d",&i,&j),puts(i<j?"YOKO":"TATE");return!1;}
      | ^
main.c:2:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
main.c:2:3: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int]
    2 | i,j;main(){scanf("%d%d",&i,&j),puts(i<j?"YOKO":"TATE");return!1;}
      |   ^
main.c:2:5: warning: return type defaults to ‘int’ [-Wimplicit-int]
    2 | i,j;main(){scanf("%d%d",&i,&j),puts(i<j?"YOKO":"TATE");return!1;}
      |     ^~~~
main.c: In function ‘main’:
main.c:2:12: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    2 | i,j;main(){scanf("%d%d",&i,&j),puts(i<j?"YOKO":"TATE");return!1;}
      |            ^~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
i,j;main(){scanf("%d%d",&i,&j),puts(i<j?"YOKO":"TATE");return!1;}
0