結果
| 問題 | No.427 テレビ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-10-09 01:17:51 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 712µs | |
| コード長 | 135 bytes |
| 記録 | |
| コンパイル時間 | 40 ms |
| コンパイル使用メモリ | 28,032 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-24 14:27:54 |
| 合計ジャッジ時間 | 1,153 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d %d",&t,&y);
| ^~~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
int main(void){
int t,y;
scanf("%d %d",&t,&y);
if(t > y) printf("TATE\n");
else printf("YOKO\n");
return 0;
}