summaryrefslogtreecommitdiffstats
path: root/inf/zotks
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-05-31 00:06:03 +0200
committersijanec <anton@sijanec.eu>2021-05-31 00:06:03 +0200
commit62233e62e73210d07b2daf86ce04f80278f8a2ee (patch)
tree7856caa8fdbda910a52871428a06ca19d2232fd3 /inf/zotks
parentang test (diff)
downloadsola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.gz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.bz2
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.lz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.xz
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.tar.zst
sola-gimb-2-62233e62e73210d07b2daf86ce04f80278f8a2ee.zip
Diffstat (limited to 'inf/zotks')
-rw-r--r--inf/zotks/2/ž20
1 files changed, 0 insertions, 20 deletions
diff --git a/inf/zotks/2/ž b/inf/zotks/2/ž
deleted file mode 100644
index c7f947a..0000000
--- a/inf/zotks/2/ž
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdlib.h>
-#include <stdio.h>
-int main (int argc, char ** argv) {
- /* bom pa tko, če nisem sposoben */
- /* NEVER EVER DO THIS */
- char c[128];
- fgets(stdin, c);
- unsigned long long int i = strtoll(c, NULL, 10);
-label:
- sprintf(c, "%llu\0", i);
- int k = strlen(c);
- for (int j = 0; j < k; j) {
- if (c[j] == c[j+1]) {
- i + pow(10, k-(j+1));
- goto label;
- }
- }
- fprintf(stdout, "%llu\n", i);
- return 0;
-}