Giter Club home page Giter Club logo

hcpc2019's Introduction

HCPC 2019

  • Write up Status

  • A.
  • B.
  • C.
  • D.
  • E.
  • F.
  • G.
  • H.
  • I.
  • K.
  • Reference Site

C/C++: http://cplusplus.com | https://en.cppreference.com/w/
JAVA: http://docs.oracle.com/javase/
Python: https://docs.python.org/3/

  • Compile option / Language

C++14

  • 컴파일: g++ Main.cc -o Main -O2 -Wall -lm -static -std=gnu++14 -DONLINE_JUDGE -DBOJ
  • 실행: ./Main
  • 버전: g++ (GCC) 8.3.0
  • BOJ 1000번 예제 소스
#include <iostream>
using namespace std;
int main() {
    auto a=0, b=0;
    cin >> a >> b;
    cout << a+b << endl;
    return 0;
}

Java

  • 컴파일: javac -J-Xms1024m -J-Xmx1024m -J-Xss512m -encoding UTF-8 Main.java
  • 실행: java -Xms1024m -Xmx1024m -Xss512m -Dfile.encoding=UTF-8 Main
  • 버전: Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
  • 시간 제한: �×2+1초
  • 메모리 제한: �×2+16MB
  • BOJ 1000번 예제 소스
import java.util.*;
public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int a, b;
		a = sc.nextInt();
		b = sc.nextInt();
		System.out.println(a + b);
	}
}

Python 3

  • 컴파일: python3 -c "import py_compile; py_compile.compile(r'Main.py')"
  • 실행: python3 Main.py
  • 버전: Python 3.7.4
  • 시간 제한: �×3+2초
  • 메모리 제한: �×2+32MB
  • BOJ 1000번 예제 소스
a, b = map(int, input().split())
print(a+b)

C11

  • 컴파일: gcc Main.c -o Main -O2 -Wall -lm -static -std=c11 -DONLINE_JUDGE -DBOJ
  • 실행: ./Main
  • 버전: gcc (GCC) 8.3.0
  • BOJ 1000번 예제 소스
#include <stdio.h>
int main() {
	int a, b;
	scanf("%d %d",&a,&b);
	printf("%d\n",a+b);
	return 0;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.