fahadkabir123's blog

By fahadkabir123, history, 21 month(s) ago, In English

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.

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By fahadkabir123, history, 23 months ago, In English

/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.

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By fahadkabir123, history, 23 months ago, In English

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.

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By fahadkabir123, history, 23 months ago, In English

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

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it

By fahadkabir123, history, 2 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • +7
  • Vote: I do not like it