結果
問題 |
No.2407 Bouns 2.0
|
ユーザー |
![]() |
提出日時 | 2023-08-14 15:17:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 407 bytes |
コンパイル時間 | 474 ms |
コンパイル使用メモリ | 40,388 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-22 13:37:12 |
合計ジャッジ時間 | 1,695 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
/* -*- coding: utf-8 -*- * * 2407.cc: No.2407 Bouns 2.0 - yukicoder */ #include<cstdio> #include<algorithm> using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int w, z; char s[8]; scanf("%d%d%s", &w, &z, s); int b = (s[0] - '0') * 10 + (s[2] - '0'); int p = (w + z) / 10 * (b + 10); printf("%d\n", p); return 0; }