| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1328560 | liwuyou | Art Class (IOI13_artclass) | C++20 | 31 ms | 3348 KiB |
#include "artclass.h"
#include <bits/stdc++.h>
using namespace std;
int style(int H, int W, int R[500][500], int G[500][500], int B[500][500]) {
int cntwight = 0;
for (int i = 0; i < 450; i += 25) {
for (int j = 0; j < 450; j += 25) {
int cnt = 0;
for (int x = 0; x < 50; x++) {
for (int y = 0; y < 50; y++) {
cnt += (R[i + x][j + y] >= 0xe0 && G[i + x][j + y] >= 0xe0 && B[i + x][j + y] >= 0xe0);
}
}
if (cnt >= 45 * 45) {
cntwight++;
}
}
}
if (cntwight >= 30) {
return 1;
}
return 4;
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
