結果
問題 | No.8047 Riddle of Cards |
ユーザー |
![]() |
提出日時 | 2019-04-01 21:52:52 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 534 bytes |
コンパイル時間 | 1,091 ms |
コンパイル使用メモリ | 80,724 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-26 22:30:51 |
合計ジャッジ時間 | 1,069 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 WA * 2 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <stack> #include <map> #include <algorithm> #include <iomanip> #include <cmath> using namespace std; #define MAXV 1000000000 #define MOD 1000000007 using ll = long long; bool operator<(const pair<int, int>& a, const pair<int, int>& b) { if (a.first == b.first) { return a.second < b.second; } return a.first < b.first; } ll a[100010]; int main() { unsigned long long N, M; cin >> N >> M; cout << (unsigned long long)pow(M, N) << endl; int a; cin >> a; }