제출 #56459

#제출 시각UTC-0아이디문제언어결과실행 시간메모리
564592018-07-11 11:54:59hamzqq9미술 수업 (IOI13_artclass)C++14
9 / 100
154 ms6588 KiB
#include "artclass.h"
#include<bits/stdc++.h>
using namespace std;
double TYPE[3]={
1281.412132742017
,72443.131997850884
,139.288902381624};
int R[505][505],G[505][505],B[505][505];
double TotD;
int total;
int w[4][2]={1,0,0,1,-1,0,0,-1};
double sq(int a,int b) {
if(abs(a-b)<=100) return 0;
return abs(1.0*(a-b)*(a-b)*(a-b));
}
double get(int x,int y,int a,int b) {
double DR=sq(R[x][y],R[a][b]);
double DG=sq(G[x][y],G[a][b]);
double DB=sq(B[x][y],B[a][b]);
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#Verdict Execution timeMemoryGrader output
Fetching results...