This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Plugins\Coinpayments\Controllers; | |
use App\Core\BaseController; | |
use App\Helpers\UserActionLogHelper; | |
use App\Models\File; | |
use App\Models\Order; | |
use App\Models\PaymentLog; | |
use App\Models\User; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define int long long | |
using namespace std; | |
const int M = 1e9 + 7; | |
bool cmp(pair<pair<int, string>, int> &a, pair<pair<int, string>, int> &b) | |
{ | |
return a.second < b.second; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
#define int unsigned long long | |
#define mod 1000000007 | |
using namespace std; | |
int32_t main(){ | |
int t; | |
cin>>t; | |
while(t--){ | |
int n; | |
cin>>n; |