간과
~cpp #include <iostream> #include <ctime> using namespace std; int main() { time_t current; tm *today; time(¤t); today = localtime(¤t); cout << today->tm_hour << endl; cout << today->tm_min << endl; return 0; }
게 그
구
- 3개
- 4
- 게 3개 (jenga, citadell, pit)
- 1 30 800 ( 29 0 30 800)
- 3개
- 4
- 게 3개 (jenga, citadell, pit)
- 1 30 800 ( 29 0 30 800)
~cpp - in {table1, table2, table3} {1,2,3,4} - play {table1, table2, table3} {jenga, citadell, pit} - out {table1, table2, table3}
~cpp >> in table3 2 table3 : 2 persons : in 3:00 >> play table3 pit table3 pit play >> in table2 3 table3 : 2 persons : in 3:30 >> play table2 pit have no pit >> play table3 jenga table3 jenga play >> play table2 pit table2 pit play >> out table3 3:00 ~ 4:00 : 2 persons : 3000 won
구
-
- . 개고 개 500. 갈 계 .
-
- . 개고 개 500. 갈 계 .
~cpp - buy {table1, table2, table3} {1~}
~cpp >> in table3 2 table3 : 2 persons : in 3:00 >> buy table3 3 table3 buy drink 3 >> out table3 3:00 ~ 4:00 : 2 persons : 3 drink :4500 won