Блог пользователя fahadkabir123

Автор fahadkabir123, история, 21 месяц назад, По-английски

I have tried to install cf-tool via homebrew using this code brew install cf-toolin terminal. But it shows- cf-tool has been deprecated because it is not maintained upstream! cf-tool: The x86_64 architecture is required for this software.

I use cp editor for cp . How do i use this auto submission feature? any other method to do this ? please let me know.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

Автор fahadkabir123, история, 23 месяца назад, По-английски

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/bits/stdc++.h:92:10: fatal error: 'source_location' file not found

using sublime text 3. help please.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

Автор fahadkabir123, история, 23 месяца назад, По-английски

Using MACOS Ventura and Sublime text 3. Also upgrade to recent command line tools 14.2

Sublime test Build system currently I'm using-

{ "shell_cmd": "g++ -std=c++20 "$$${file}" -o "$$${file_path}/${file_base_name}" &&\ "$$${file_path}/$$${file_base_name}"", "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.c, source.c++", "variants": [

{
     "name": "Run",
     "shell_cmd": "g++ -std=c++20 \"$$${file}\" -o \"$$${file_path}/${file_base_name}\" && 
      \"$$${file_path}/$$${file_base_name}\""
   }
 ]
}

facing the issue - fatal error: 'bits/stdc++.h' file not found.

Anyone please help me out. Thank you.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

Автор fahadkabir123, история, 23 месяца назад, По-английски

How to view all problems of a contest in a single page in codeforces? any extentions available or any other tricks?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

Автор fahadkabir123, история, 2 года назад, По-английски

I recently upgraded to macOS 13 (Ventura) public, and updated brew and gcc, but later I found this error and now I am unable to run any c++ code with gcc g++-11: warning: could not understand version '13.00.00'

ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: error: ld returned 1 exit status [Finished in 660ms with exit code 1]

Previously i used to run my c++ code with this sublime build.

{ "cmd" : ["g++-10 $file_name -o $file_base_name && gtimeout 4s ./$file_base_name<inputf.in>outputf.in"], "selector" : "source.c", "shell": true, "working_dir" : "$file_path" }

source : https://github.com/luvk1412/Competitive-Programming/blob/master/C%2B%2B14_os_x.sublime-build

but currently is not working. Now i'm facing this problem below.

/bin/sh: g++-10: command not found [Finished in 18ms with exit code 127] [cmd: ['g++-10 map_practice.cpp -o map_practice && gtimeout 4s ./map_practice<inputf.in>outputf.in']]

I've already installed gcc-12 through Homebrew. What can i do now. Please Help me.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится