• Logic for CS
  • Home
  • Contests
  • Problems
  • Submissions
Log in  or  Sign up

  • Blog
  • Events

News

Final project 提醒

posted on June 18, 2021, 12:00 a.m. 0

請記得要在 Contests 下繳交期末 project,我們會抓出各位同學最後一次在上面繳交的 code,當作 final project 的程式進行比賽。
連結如下:http://lkt.tw/contest/4

Welcome!

admin posted on April 9, 2021, 4:32 a.m. 0

Prolog stdin/stdout example:

:- initialization main, halt.

read_lines([H|T]) :-
  read_line_to_codes(user_input, H), H \= end_of_file, read_lines(T).
read_lines([]).

write_lines([]).
write_lines([H|T]) :-
  writef("%s\n", [H]), write_lines(T).

main :-
  read_lines(X), write_lines(X).

Comment stream

  • pcchen → 3. Final Project Part I
  • 108971005 → 3. Final Project Part I
  • pcchen → 3. Final Project Part I
  • 108703016 → 3. Final Project Part I
  • 106703017 → 0. Factorial
  • 107703048 → 0. Read and Print
RSS / Atom

New problems

  • 4. Final Project Part II
  • 3. Final Project Part I
  • 2. Island of Logic
  • 1. The 3n + 1 problem
  • 0. Read and Print
  • 0. Hello World!
  • 0. Factorial
RSS / Atom

proudly powered by DMOJ |