Submission #1200529

#TimeUsernameProblemLanguageResultExecution timeMemory
1200529CELD_07Art Class (IOI13_artclass)C++20
1 / 100
30 ms3296 KiB
#include "artclass.h" #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> typedef long long ll; typedef long double ld; #define endl "\n" #define vll vector<ll> #define sd second #define ft first #define all(x) x.begin(),x.end() #define allr(x) x.rbegin(),x.rend() #define pll pair<ll, ll> #define mod 998244353 #define _set tree<pll, null_type, less<pll>, rb_tree_tag, tree_order_statistics_node_update> #define inf (ll)1e15 #define PRESICION(x) cout.setf(ios::fixed,ios::floatfield); cout.precision(x); #define dgb(x) cout<<#x<<" : "<<x<<"\n" using namespace std; using namespace __gnu_pbds; ll dx[]={1, 0, 0}; ll dy[]={0, 1, -1};/* inline ll sm(ll a, ll b){ return ((a%mod)+(b%mod))%mod; } inline ll ml(ll a, ll b){ return ((a%mod)*(b%mod))%mod; } inline ll rs(ll a, ll b){ return ((a%mod)-(b%mod)+mod)%mod; } ll bpow(ll a , ll b) { if (b==0)return 1; if (b%2!=0)return ((bpow(a, b-1)%mod)*(a%mod))%mod; ll r=bpow (a ,b/ 2) ; return ((r%mod)*(r%mod))%mod; } inline ll q(vector<ll>& v1, ll l, ll r){ return (l==0 ? v1[r]: v1[r]-v1[l-1]); }*/ int style(int H, int W, int R[500][500], int G[500][500], int B[500][500]){ return 2; } /* int main(){ //freopen("time.in", "r", stdin);freopen("time.out", "w", stdout); //ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr); //PRESICION(15) init(3, 4, {{0,2,5}, {7,1,1}, {0,4,0}}, {{0,0,0,2}, {0,3,4,7}}); cout<<escape(2,1)<<endl; cout<<escape(3,3)<<endl; } */
#Verdict Execution timeMemoryGrader output
Fetching results...