結果

問題 No.1119 Division 3
ユーザー subsnsubsn
提出日時 2023-06-15 09:25:18
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 26,840 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-05 15:33:51
合計ジャッジ時間 1,003 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 1 ms
4,376 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 0 ms
4,376 KB
testcase_05 WA -
testcase_06 AC 0 ms
4,376 KB
testcase_07 AC 0 ms
4,376 KB
testcase_08 AC 0 ms
4,380 KB
testcase_09 AC 1 ms
4,380 KB
testcase_10 AC 1 ms
4,376 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 AC 0 ms
4,376 KB
testcase_13 AC 1 ms
4,380 KB
testcase_14 AC 1 ms
4,376 KB
testcase_15 WA -
testcase_16 AC 1 ms
4,380 KB
testcase_17 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: 関数 ‘main’ 内:
main.c:1:5: 警告: ‘a’ の型をデフォルトの ‘int’ にします [-Wimplicit-int]
    1 | int main(a, b, c)
      |     ^~~~
main.c:1:5: 警告: ‘b’ の型をデフォルトの ‘int’ にします [-Wimplicit-int]
main.c:1:5: 警告: ‘c’ の型をデフォルトの ‘int’ にします [-Wimplicit-int]
main.c:3:9: 警告: 関数 ‘scanf’ の暗黙的な宣言です [-Wimplicit-function-declaration]
    3 |         scanf("%llu %llu %llu", &a, &b, &c);
      |         ^~~~~
main.c:1:1: 備考: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
  +++ |+#include <stdio.h>
    1 | int main(a, b, c)
main.c:3:9: 警告: 組み込み関数 ‘scanf’ の互換性がない暗黙的な宣言です [-Wbuiltin-declaration-mismatch]
    3 |         scanf("%llu %llu %llu", &a, &b, &c);
      |         ^~~~~
main.c:3:9: 備考: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
main.c:4:36: 警告: 関数 ‘puts’ の暗黙的な宣言です [-Wimplicit-function-declaration]
    4 |         if (a%3==0||b%3==0||c%3==0)puts("Yes");else puts("No");
      |                                    ^~~~
main.c:4:36: 備考: include ‘<stdio.h>’ or provide a declaration of ‘puts’

ソースコード

diff #

int main(a, b, c)
{
	scanf("%llu %llu %llu", &a, &b, &c);
	if (a%3==0||b%3==0||c%3==0)puts("Yes");else puts("No");
}
0