結果
問題 |
No.1119 Division 3
|
ユーザー |
![]() |
提出日時 | 2025-03-11 13:32:37 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 453 ms |
コンパイル使用メモリ | 24,832 KB |
実行使用メモリ | 7,324 KB |
最終ジャッジ日時 | 2025-03-11 13:32:38 |
合計ジャッジ時間 | 1,177 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 5 WA * 11 |
コンパイルメッセージ
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"); } }