Submission #28053874
Source Code Expand
#include <bits/stdc++.h>
#define all(v) (v).begin(), (v).end()
#define rall(v) (v).rbegin(), (v).rend()
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define rep2(i,k,n) for (int i = (k); i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
// using P = pair<ll,ll>;
const ll INF = (ll)1e18;
// const int INF = (int)1e9+7;
template<typename T>
void chmin(T &a, T b) { a = min(a, b); }
template<typename T>
void chmax(T &a, T b) { a = max(a, b); }
void solve() {
int a, b;
char x;
cin >> a >> x >> b;
cout << a*b << endl;
}
int main() {
solve();
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - QQ solver |
| User | goropikari |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 642 Byte |
| Status | AC |
| Exec Time | 10 ms |
| Memory | 3576 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 10 ms | 3348 KiB |
| example_01.txt | AC | 2 ms | 3576 KiB |
| example_02.txt | AC | 2 ms | 3388 KiB |
| test_00.txt | AC | 2 ms | 3480 KiB |
| test_01.txt | AC | 2 ms | 3532 KiB |
| test_02.txt | AC | 2 ms | 3532 KiB |
| test_03.txt | AC | 2 ms | 3532 KiB |
| test_04.txt | AC | 3 ms | 3480 KiB |