結果
問題 | No.3112 Decrement or Mod Game |
ユーザー |
![]() |
提出日時 | 2025-04-20 19:50:47 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 17 ms / 2,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 453 ms |
コンパイル使用メモリ | 24,448 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-04-20 19:50:50 |
合計ジャッジ時間 | 2,772 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 65 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:2:36: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2 | int main() {unsigned long long A,B;scanf("%llu %llu",&A,&B);puts(((A>=B&&(A-B-1))||(A==1)) ? "Alice":"Bob");} | ^~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main() {unsigned long long A,B;scanf("%llu %llu",&A,&B);puts(((A>=B&&(A-B-1))||(A==1)) ? "Alice":"Bob");}