結果
問題 | No.350 d=vt |
ユーザー | xxxasdfghjk |
提出日時 | 2018-09-07 16:20:46 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 1,516 ms |
コンパイル使用メモリ | 159,444 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 19:36:59 |
合計ジャッジ時間 | 2,023 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#include<bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<ll,ll> P; int main() { int aa=0,b; string a,bb; cin >> a >> b; bb = a.substr(2,4); for(int i=0;i<bb.size();i++){ aa*=10; aa += bb[i] - '0'; } aa = aa*b; cout << aa/10000 << endl; return 0; }