結果
| 問題 |
No.969 じゃんけん
|
| コンテスト | |
| ユーザー |
suppy193
|
| 提出日時 | 2021-05-02 11:06:22 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 162 bytes |
| コンパイル時間 | 127 ms |
| コンパイル使用メモリ | 20,096 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-20 19:39:23 |
| 合計ジャッジ時間 | 666 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 4 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d", &x);
| ^~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void) {
int x;
scanf("%d", &x);
if(x == 0 || x == 4 || x == 10){
printf("Yes\n");
}
else{
printf("No\n");
}
return 0;
}
suppy193