summaryrefslogtreecommitdiffstats
path: root/šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c
diff options
context:
space:
mode:
Diffstat (limited to 'šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c')
-rw-r--r--šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c b/šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c
deleted file mode 100644
index f55755a..0000000
--- a/šola/p2/dn/DN01a_63230317.kasnejša_sprememba_po_oddaji.c
+++ /dev/null
@@ -1,36 +0,0 @@
-#include <stdio.h>
-int nextInt () {
- int r = 0;
- int minus = 0;
- for (int števka = '0'; števka == '-' || (števka <= '9' && števka >= '0'); števka = getchar()) {
- if (števka == '-') {
- if (r != 0)
- break;
- minus = !minus;
- continue;
- }
- r = r*10+števka-'0';
- }
- return minus ? -r : r;
-}
-void printInt (int a) {
- if (a < 0) {
- a = -a;
- putchar('-');
- }
- int l = 1;
- int c = a/10;
- while (c > 0) {
- l *= 10;
- c /= 10;
- }
- while (l) {
- putchar('0'+(a/l)%10);
- l /= 10;
- }
-}
-int main (void) {
- printInt(nextInt()+nextInt());
- putchar('\n');
- return 0;
-}