結果
| 問題 |
No.427 テレビ
|
| コンテスト | |
| ユーザー |
hirakich1048576
|
| 提出日時 | 2016-12-07 22:45:31 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 77 bytes |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 19,456 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-28 03:30:51 |
| 合計ジャッジ時間 | 595 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 3 WA * 5 |
コンパイルメッセージ
main.c:2:1: warning: data definition has no type or storage class
2 | i,j;main(){scanf("%d%d"),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"),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"),puts(i<j?"YOKO":"TATE");return!1;}
| ^~~~
main.c: In function ‘main’:
main.c:2:20: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
2 | i,j;main(){scanf("%d%d"),puts(i<j?"YOKO":"TATE");return!1;}
| ~^
| |
| int *
main.c:2:22: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=]
2 | i,j;main(){scanf("%d%d"),puts(i<j?"YOKO":"TATE");return!1;}
| ~^
| |
| int *
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"),puts(i<j?"YOKO":"TATE");return!1;}
| ^~~~~~~~~~~~~
ソースコード
#include<stdio.h>
i,j;main(){scanf("%d%d"),puts(i<j?"YOKO":"TATE");return!1;}
hirakich1048576