結果
問題 | No.2297 Best Grouping |
ユーザー |
|
提出日時 | 2023-05-14 03:12:49 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 245 ms |
コンパイル使用メモリ | 28,032 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-29 17:58:02 |
合計ジャッジ時間 | 1,126 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 8 WA * 12 |
ソースコード
#include <stdio.h>int main(){int N, i, n;scanf("%d", &N);n = N % 3;if (n == 0){printf("0");}else{printf("%d", N / 3 + 1);}}