Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
This is a revision of "parsrc DOT sh CSV parser"; the problem is to parse given CSV text to list each item on each column and row.
0. Output format is EXACTLY "%d %d %s\n", COLUMN#, ROW#, VALUE for each item (previous one was "%d %d\n", COLUMN#, ROW# if VALUE is empty).
1. This time, test cases have just LFs, commas, and quoting symbols.
2. The output should be seriously RFC4180-compatible; the string <""""> has two quoting characters (""), not three (""") (thank you, kaki (@gengar68), for pointing out errors for previous problem (as in tweet id: 1457298397484912642)).
--鳴神裁4.1号, 2022-02-26 16:57 UTC+9
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
"""""",""",",""" "" """ ","," """","
1 1 "" 1 2 ", 1 3 "\n"\n" 2 1 , 2 2 \n"",
", "","",", ,"",",",""",",,",,"
1 1 ,\n",", 1 2 2 1 2 2 2 3 , 2 4 ", 2 5 2 6 ,,
,,",,",,",,",,"" """,""",""","" """,""",",",""""",
1 1 1 2 1 3 ,, 1 4 1 5 ,, 1 6 1 7 2 1 "," 2 2 ","\n" 2 3 ", 2 4 ,"" 2 5
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | rotary-o | 89 | 0.0555 | 2022/02/27 17:31:57 | 0B / 44B / 39B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | rotary-o | 87 | 0.1988 | 2022/03/06 11:02:06 | 0B / 43B / 38B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | tails | 88 | 0.0455 | 2022/02/28 23:06:23 | 0B / 18B / 66B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | rotary-o | 225 | 0.1554 | 2022/02/27 20:21:00 | 0B / 121B / 95B |
Rank | User | Size | Time | Date | Statistics |
---|---|---|---|---|---|
1 | rotary-o | 172 | 7.1108 | 2022/02/27 20:20:34 | 0B / 91B / 66B |
Rank | Lang | User | Size | Score |
---|---|---|---|---|
1 | Ruby2 | rotary-o | 87 | 10000 |
2 | Perl | tails | 88 | 9886 |
3 | Ruby | rotary-o | 89 | 9775 |
4 | Scala | rotary-o | 172 | 5058 |
5 | Java | rotary-o | 225 | 3866 |