結果
問題 | No.57 ミリオンダイス |
ユーザー |
|
提出日時 | 2018-07-20 22:19:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 1,480 ms |
コンパイル使用メモリ | 62,336 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-26 04:31:09 |
合計ジャッジ時間 | 1,184 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
#include <iostream> #include <stdio.h> using namespace std; int main(int argc, char* argv[]) { int N; cin>>N; double x=3.5*N; if (x==(int)x){ printf("%ld\n",(int)x); }else{ printf("%.3lf\n",x); } return 0; }