aboutsummaryrefslogtreecommitdiff
path: root/problems/cellsdoctor/attachments
diff options
context:
space:
mode:
Diffstat (limited to 'problems/cellsdoctor/attachments')
-rw-r--r--problems/cellsdoctor/attachments/template.c18
-rw-r--r--problems/cellsdoctor/attachments/template.cpp18
-rw-r--r--problems/cellsdoctor/attachments/template.java18
-rw-r--r--problems/cellsdoctor/attachments/template.js5
-rw-r--r--problems/cellsdoctor/attachments/template.py7
5 files changed, 66 insertions, 0 deletions
diff --git a/problems/cellsdoctor/attachments/template.c b/problems/cellsdoctor/attachments/template.c
new file mode 100644
index 0000000..b4fbdd8
--- /dev/null
+++ b/problems/cellsdoctor/attachments/template.c
@@ -0,0 +1,18 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdbool.h>
+
+int main()
+{
+ int iteration;
+ scanf("%d", &iteration);
+ int size;
+ scanf("%d", &size); fgetc(stdin);
+ for (int i = 0; i < size; i++) {
+ char ROW[1025];
+ scanf("%[^\n]", ROW); fgetc(stdin);
+ }
+
+ return 0;
+}
diff --git a/problems/cellsdoctor/attachments/template.cpp b/problems/cellsdoctor/attachments/template.cpp
new file mode 100644
index 0000000..12215d4
--- /dev/null
+++ b/problems/cellsdoctor/attachments/template.cpp
@@ -0,0 +1,18 @@
+#include <iostream>
+#include <string>
+#include <vector>
+#include <algorithm>
+
+using namespace std;
+
+int main()
+{
+ int iteration;
+ cin >> iteration; cin.ignore();
+ int size;
+ cin >> size; cin.ignore();
+ for (int i = 0; i < size; i++) {
+ string row;
+ getline(cin, row);
+ }
+}
diff --git a/problems/cellsdoctor/attachments/template.java b/problems/cellsdoctor/attachments/template.java
new file mode 100644
index 0000000..34aa8be
--- /dev/null
+++ b/problems/cellsdoctor/attachments/template.java
@@ -0,0 +1,18 @@
+import java.util.*;
+import java.io.*;
+import java.math.*;
+
+class Solution {
+
+ public static void main(String args[]) {
+ Scanner in = new Scanner(System.in);
+ int iteration = in.nextInt();
+ int size = in.nextInt();
+ if (in.hasNextLine()) {
+ in.nextLine();
+ }
+ for (int i = 0; i < size; i++) {
+ String ROW = in.nextLine();
+ }
+ }
+}
diff --git a/problems/cellsdoctor/attachments/template.js b/problems/cellsdoctor/attachments/template.js
new file mode 100644
index 0000000..6f216c1
--- /dev/null
+++ b/problems/cellsdoctor/attachments/template.js
@@ -0,0 +1,5 @@
+const iteration = parseInt(readline());
+const size = parseInt(readline());
+for (let i = 0; i < size; i++) {
+ const ROW = readline();
+}
diff --git a/problems/cellsdoctor/attachments/template.py b/problems/cellsdoctor/attachments/template.py
new file mode 100644
index 0000000..ec4f583
--- /dev/null
+++ b/problems/cellsdoctor/attachments/template.py
@@ -0,0 +1,7 @@
+import sys
+import math
+
+iteration = int(input())
+size = int(input())
+for i in range(size):
+ row = input()