parsrcDOTsh Revised

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

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

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

"""""",""",","""
""
"""
",","
"""","

Sample output:

1 1 ""
1 2 ",
1 3 "\n"\n"
2 1 ,
2 2 \n"",

Sample input:_

",
"","",",
,"",",",""",",,",,"

Sample output:

1 1 ,\n",",
1 2 
2 1 
2 2 
2 3 ,
2 4 ",
2 5 
2 6 ,,

Sample input:_

,,",,",,",,",,""
""",""",""",""
""",""",",",""""",

Sample output:

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 

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o890.05552022/02/27 17:31:570B / 44B / 39B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o870.19882022/03/06 11:02:060B / 43B / 38B

Perl _

RankUserSizeTimeDateStatistics
1tails880.04552022/02/28 23:06:230B / 18B / 66B

Java _

RankUserSizeTimeDateStatistics
1rotary-o2250.15542022/02/27 20:21:000B / 121B / 95B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o1727.11082022/02/27 20:20:340B / 91B / 66B

Language Ranking_

RankLangUserSizeScore
1Ruby2rotary-o8710000
2Perltails889886
3Rubyrotary-o899775
4Scalarotary-o1725058
5Javarotary-o2253866

return to the top page