diff options
Diffstat (limited to 'problems/starshiplaunchcodes/attachments')
5 files changed, 65 insertions, 0 deletions
diff --git a/problems/starshiplaunchcodes/attachments/template.c b/problems/starshiplaunchcodes/attachments/template.c new file mode 100644 index 0000000..228b009 --- /dev/null +++ b/problems/starshiplaunchcodes/attachments/template.c @@ -0,0 +1,17 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + int S; + scanf("%d", &S); + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("code(s)\n"); + + return 0; +} diff --git a/problems/starshiplaunchcodes/attachments/template.cpp b/problems/starshiplaunchcodes/attachments/template.cpp new file mode 100644 index 0000000..5bf1d30 --- /dev/null +++ b/problems/starshiplaunchcodes/attachments/template.cpp @@ -0,0 +1,17 @@ +#include <iostream> +#include <string> +#include <vector> +#include <algorithm> + +using namespace std; + +int main() +{ + int s; + cin >> s; cin.ignore(); + + // Write an answer using cout. DON'T FORGET THE "<< endl" + // To debug: cerr << "Debug messages..." << endl; + + cout << "code(s)" << endl; +} diff --git a/problems/starshiplaunchcodes/attachments/template.java b/problems/starshiplaunchcodes/attachments/template.java new file mode 100644 index 0000000..db7de41 --- /dev/null +++ b/problems/starshiplaunchcodes/attachments/template.java @@ -0,0 +1,16 @@ +import java.util.*; +import java.io.*; +import java.math.*; + +class Solution { + + public static void main(String args[]) { + Scanner in = new Scanner(System.in); + int S = in.nextInt(); + + // Write an answer using System.out.println() + // To debug: System.err.println("Debug messages..."); + + System.out.println("code(s)"); + } +} diff --git a/problems/starshiplaunchcodes/attachments/template.js b/problems/starshiplaunchcodes/attachments/template.js new file mode 100644 index 0000000..7cac261 --- /dev/null +++ b/problems/starshiplaunchcodes/attachments/template.js @@ -0,0 +1,6 @@ +const S = parseInt(readline()); + +// Write an answer using console.log() +// To debug: console.error('Debug messages...'); + +console.log('code(s)'); diff --git a/problems/starshiplaunchcodes/attachments/template.py b/problems/starshiplaunchcodes/attachments/template.py new file mode 100644 index 0000000..772dd3f --- /dev/null +++ b/problems/starshiplaunchcodes/attachments/template.py @@ -0,0 +1,9 @@ +import sys +import math + +s = int(input()) + +# Write an answer using print +# To debug: print("Debug messages...", file=sys.stderr, flush=True) + +print("code(s)") |