Moved kattis from Uni repo

This commit is contained in:
2023-12-01 13:35:13 +01:00
parent 28a6b807a3
commit aaa2c123b8
164 changed files with 3008 additions and 0 deletions

View File

View File

@ -0,0 +1,18 @@
#include <stdint.h>
#include <stdio.h>
int main(int argc, char **argv) {
int n, w, h;
scanf("%d %d %d", &n, &w, &h);
for (int i=0; i<n; i++) {
int l;
scanf("%d", &l);
if (l <= w || l <= h || l*l <= w*w + h*h) {
printf("DA\n");
} else {
printf("NE\n");
}
}
return 0;
}

Binary file not shown.