結果
問題 | No.666 1000000007で割るだけ |
ユーザー | mukadenodaiou |
提出日時 | 2018-03-23 22:21:27 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 974 bytes |
コンパイル時間 | 680 ms |
コンパイル使用メモリ | 93,204 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-07 02:56:02 |
合計ジャッジ時間 | 1,721 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,376 KB |
testcase_01 | AC | 2 ms
4,380 KB |
testcase_02 | AC | 1 ms
4,380 KB |
testcase_03 | WA | - |
testcase_04 | AC | 2 ms
4,376 KB |
testcase_05 | AC | 1 ms
4,380 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 1 ms
4,376 KB |
testcase_10 | WA | - |
testcase_11 | AC | 1 ms
4,380 KB |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 2 ms
4,380 KB |
testcase_16 | WA | - |
testcase_17 | AC | 1 ms
4,376 KB |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | AC | 1 ms
4,376 KB |
testcase_22 | AC | 1 ms
4,380 KB |
testcase_23 | WA | - |
ソースコード
# include <iostream> # include <algorithm> # include <vector> # include <string> # include <set> # include <map> # include <cmath> # include <iomanip> # include <functional> # include <utility> # include <stack> # include <queue> # include <list> # include <bitset> # include <complex> #include<limits.h> #include<unordered_map> #include<unordered_set> #include<deque> #include<cstdio> using namespace std; typedef long long int ll; const int N = 1000000; const ll mod = 1000000007; const ll INF = std::numeric_limits<long long>::max(); #define rep(i,n) for(ll i=(ll)0;i<(ll)n;++i) #define srep(i,s) rep(i,(ll)s.size()) #define vin(n,v) rep(i,n)cin>>v[i] #define ALL(x) x.begin(),x.end() #define pp pair<ll,ll> #define fi first #define se second #define sz size void YN(bool b) { cout << (b ? "YES" : "NO") << endl; } void yn(bool b) { cout << (b ? "Yes" : "No") << endl; } int main(){ int a, b; cin >> a >> b; a%=mod; b %= mod; cout << (a * b)%mod << endl; return 0; }