結果

問題 No.2297 Best Grouping
ユーザー chro_96chro_96
提出日時 2023-05-12 21:44:48
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 139 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 27,520 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-28 17:49:31
合計ジャッジ時間 1,080 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main () {
  int n = 0;
  
  int res = 0;
  
  res = scanf("%d", &n);
  
  printf("%d\n", (3-n%3)%3);
  return 0;
}
0