xalanq / cf-tool

:bar_chart: Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB
MIT License
1.32k stars 227 forks source link

Choose valid language #139

Open DeCalvin2006 opened 3 years ago

DeCalvin2006 commented 3 years ago

Got a problem submitting 50A

Screenshot_20210822_133731

~/.cf/config

{
  "template": [
    {
      "alias": "cpp",
      "lang": "42",
      "path": "/home/afgxf/template/tem.cpp",
      "suffix": [
        "cxx",
        "cpp"
      ],
      "before_script": "clang++ $%full%$ -o $%file%$.out --std=c++11 -Wall -g",
      "script": "./$%file%$.out",
      "after_script": "rm $%file%$.out"
    }
  ],
  "default": 0,
  "gen_after_parse": false,
  "host": "https://codeforces.com",
  "proxy": "",
  "folder_name": {
    "acmsguru": "acmsguru",
    "contest": "contest",
    "group": "group",
    "gym": "gym",
    "root": "cf"
  }
}
DeCalvin2006 commented 3 years ago

emm

It seems that Codeforces deleted the language GNU G++11 5.1.0(42 in cf config).

doublevgp commented 3 years ago

emm

It seems that Codeforces deleted the language GNU G++11 5.1.0(42 in cf config).

yes you are right!

Ten0 commented 2 years ago

Rust has changed id too. Perhaps this tool could also fetch the language list dynamically.