ご指摘ありがとうございます
追記:
macのApple M1 Pro
検索結果 2 件
- 2年前
- フォーラム: C言語何でも質問掲示板
- トピック: error: ld returned 1 exit status
- 返信数: 4
- 閲覧数: 8578
- 2年前
- フォーラム: C言語何でも質問掲示板
- トピック: error: ld returned 1 exit status
- 返信数: 4
- 閲覧数: 8578
error: ld returned 1 exit status
私は競プロのためにc++を使っています。コンパイラを最新バージョンにしようとして、g++-12を使えるようにしていました。 g++-12 -o filename.exe filename.c++ という構文でこのソースコードをコンパイラしました。 #include <iostream> #include <vector> #include <algorithm> using namespace std; #define rep( i, l, r ) for(int i = ( l ); i < ( r ); i++ ) using P = pair<int, int>; long long L...