結果
| 問題 | No.2415 偶数判定!Nafmoくん | 
| コンテスト | |
| ユーザー |  Maeda | 
| 提出日時 | 2025-03-17 11:10:34 | 
| 言語 | C (gcc 13.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 136 bytes | 
| コンパイル時間 | 391 ms | 
| コンパイル使用メモリ | 24,576 KB | 
| 実行使用メモリ | 7,324 KB | 
| 最終ジャッジ日時 | 2025-03-17 11:10:35 | 
| 合計ジャッジ時間 | 1,554 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 WA * 12 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    4 |         scanf("%d\n%d",&a,&b);
      |         ^~~~~~~~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
void main(void){
	int a , b;
	scanf("%d\n%d",&a,&b);
	if(a*b%2 == 0){
		printf("Even");
	}else{
		printf("Odd");
	}
}
            
            
            
        