結果
問題 | No.666 1000000007で割るだけ |
ユーザー |
![]() |
提出日時 | 2018-09-09 16:45:47 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 292 bytes |
コンパイル時間 | 363 ms |
コンパイル使用メモリ | 54,136 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-23 15:00:30 |
合計ジャッジ時間 | 1,145 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include <iostream> #include <string> using namespace std; #define p(x) cout << x << endl; #define el cout << endl; int main(){ cin.tie(0); ios::sync_with_stdio(false); long a, b; cin >> a >> b; long ans = a * b; ans = ans % 1000000007; cout << ans << endl; }