結果
問題 |
No.1422 Social Distance in Train
|
ユーザー |
![]() |
提出日時 | 2022-10-31 20:17:47 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 131 bytes |
コンパイル時間 | 2,356 ms |
コンパイル使用メモリ | 204,864 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-22 16:33:47 |
合計ジャッジ時間 | 2,767 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
ソースコード
import std; void main() { int N; readf("%d\n", N); int res = 1; if (N % 2 == 0) res += N / 2; res.writeln; }