Moved kattis from Uni repo
This commit is contained in:
11
kattis/problems/01_11_23/whichisgreater/main.c
Normal file
11
kattis/problems/01_11_23/whichisgreater/main.c
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define MIN(x,y) x>y ? 1 : 0
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int a, b;
|
||||
scanf("%d %d", &a, &b);
|
||||
printf("%d\n", MIN(a, b));
|
||||
return 0;
|
||||
}
|
11
kattis/problems/01_11_23/whichisgreater/main.c.orig
Normal file
11
kattis/problems/01_11_23/whichisgreater/main.c.orig
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define MIN(x,y) x>y ? 1 : 0
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int a,b;
|
||||
scanf("%d %d");
|
||||
printf("%d\n", MIN(a,b));
|
||||
return 0;
|
||||
}
|
BIN
kattis/problems/01_11_23/whichisgreater/program
Executable file
BIN
kattis/problems/01_11_23/whichisgreater/program
Executable file
Binary file not shown.
Reference in New Issue
Block a user