Moved kattis from Uni repo
This commit is contained in:
0
kattis/problems/21_11_23/sibice/1.in
Normal file
0
kattis/problems/21_11_23/sibice/1.in
Normal file
18
kattis/problems/21_11_23/sibice/main.c
Normal file
18
kattis/problems/21_11_23/sibice/main.c
Normal 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;
|
||||
}
|
BIN
kattis/problems/21_11_23/sibice/program
Executable file
BIN
kattis/problems/21_11_23/sibice/program
Executable file
Binary file not shown.
Reference in New Issue
Block a user