結果

問題 No.1119 Division 3
ユーザー Maeda
提出日時 2025-03-11 13:32:15
言語 C
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 185 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 24,960 KB
実行使用メモリ 7,324 KB
最終ジャッジ日時 2025-03-11 13:32:19
合計ジャッジ時間 3,268 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 16
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:19: warning: use of ‘ll’ length modifier with ‘e’ type character has either no effect or undefined behavior [-Wformat=]
    5 |         scanf("%lle %lle %lle",&x,&y,&z);
      |                   ^
main.c:5:24: warning: use of ‘ll’ length modifier with ‘e’ type character has either no effect or undefined behavior [-Wformat=]
    5 |         scanf("%lle %lle %lle",&x,&y,&z);
      |                        ^
main.c:5:29: warning: use of ‘ll’ length modifier with ‘e’ type character has either no effect or undefined behavior [-Wformat=]
    5 |         scanf("%lle %lle %lle",&x,&y,&z);
      |                             ^
main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 |         scanf("%lle %lle %lle",&x,&y,&z);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main(void){
	long long int x,y,z;
	scanf("%lle %lle %lle",&x,&y,&z);
	if(x % 3 == 0 ||  y % 3 == 0 || z % 3 == 0 ){
		printf("yes");
	}else{
		printf("No");
	}
}
0