結果
問題 | No.192 合成数 |
ユーザー |
![]() |
提出日時 | 2015-04-26 22:14:15 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 174 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 96,748 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 02:38:45 |
合計ジャッジ時間 | 1,736 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 25 |
ソースコード
import std.array, std.stdio, std.string, std.algorithm, std.conv;void main(){int N = readln.strip.to!int;if (N % 2 == 0) writeln(N);else writeln(N + 1);}