zhblue/freeproblemset

建议的语言描述 language 属性

zhblue opened this issue · 13 comments

C
C++
Pascal
Java
Python
C#
Obj-C
Clang
Clang++
JavaScript
Go
Matlab(Octave)

个人建议直接使用文件扩展名,编译器的区别使用 cpp/clang py/pypy2 此类方式区分;

可以,等有空我修改一下hustoj的实现,让新旧两种都能兼容。

$language_ext=Array( "c", "cc", "pas", "java", "rb", "sh", "py", "php","pl", "cs","m","bas","scm","c","cc","lua","js","go","sql","f95","m" );

发现 Objective-C和Mathlab都是.m结尾,且不兼容,这个容易混淆,还是先保留

$language_name=Array("C","C++","Pascal","Java","Ruby","Bash","Python","PHP","Perl","C#","Obj-C","FreeBasic","Scheme","Clang","Clang++","Lua","JavaScript","Go","SQL(sqlite3)","Fortran","Matlab(Octave)","Other Language");

这个列表

让OJ自行判断应该用什么文件扩展名

objc可以使用mm

个人来说不赞成使用过多特殊字符

可以去把那些括号里的去掉,反正也没有人用这些语言答题

照顾用户需求吧(
还有rs hs asm ts bf啥的

javascript是用nodejs还是jsc也应该区分一下(?

先不写死,等真的有人跳脚再说,不为不存在的用户做开发。

也行,能否留个联系方式(issues通讯延迟太高了