結果
| 問題 | No.427 テレビ | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2016-10-03 13:15:33 | 
| 言語 | C90 (gcc 12.3.0) | 
| 結果 | 
                                WA
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 240 bytes | 
| コンパイル時間 | 108 ms | 
| コンパイル使用メモリ | 21,248 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-12-21 15:11:51 | 
| 合計ジャッジ時間 | 625 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 7 WA * 1 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |     scanf("%d %d", &H, &W);
      |     ^~~~~~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(){
    int H, W;
    
    scanf("%d %d", &H, &W);
    
    if(!(H % 3) && !(W % 4)){
        printf("YOKO");
    }else {
        printf("TATE");
    }
    
    return 0;
}
            
            
            
        