結果
| 問題 |
No.1119 Division 3
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-11 13:33:01 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 185 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 24,832 KB |
| 実行使用メモリ | 7,324 KB |
| 最終ジャッジ日時 | 2025-03-11 13:33:03 |
| 合計ジャッジ時間 | 1,154 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
コンパイルメッセージ
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("%lld %lld %lld",&x,&y,&z);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void){
long long int x,y,z;
scanf("%lld %lld %lld",&x,&y,&z);
if(x % 3 == 0 || y % 3 == 0 || z % 3 == 0 ){
printf("Yes");
}else{
printf("No");
}
}
Maeda