Artifact a2c96590b21d65bc0f2236a0aa1194238b7ad775
- File
_lib/gcj/!gcj-tmpl.lua
- 2011-02-23 09:21:16 - part of checkin [4fd800b3a8] on branch trunk - Copied from private svn repository. (user: kinaba) [annotate]
- File
lib/gcj/!gcj-tmpl.lua
- 2011-02-23 11:18:09 - part of checkin [23dfcca431] on branch trunk - renamed _lib to lib (user: kinaba) [annotate]
CN = io.stdin:read("*n") for C=1, CN, 1 do io.stdout:write( string.format("Case #%d: ", C) ) N = io.stdin:read("*n") M = io.stdin:read("*n") fav = {} for i=1, M, 1 do T = io.stdin:read("*n") fav[i] = {} for j=1, T, 1 do X, Y = io.stdin:read("*n", "*n") fav[i][j] = {X, Y} end end io.stdout:write( string.format("%d %d\n", N, M) ) end