Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя ReTai-Hieu

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

my code

#include<bits/stdc++.h>
#define ii pair <int,int>
#define fi first
#define se second
#define int long long
#define double long double
#define endl '\n'
#define all(x) x.begin(), x.end()
using namespace std;

signed main(){
    //freopen("input.INP", "r", stdin);
    //freopen("output.OUT", "w", stdout);
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    cout << 100 << endl;
    return 0;
}

I use g++11 and vscode

That warning doesn't affect me if I run the code normally, but since I use CPH to compile it will stop my program and not run the test cases.

How to fix it

I dont know why, but the problem is I use Command Line Tools for Xcode 15. I have tried to install Command Line Tools for Xcode 14.3.1 then it works fine now

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

»
14 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by ReTai-Hieu (previous revision, new revision, compare).

»
14 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by ReTai-Hieu (previous revision, new revision, compare).

»
14 месяцев назад, # |
  Проголосовать: нравится -9 Проголосовать: не нравится

you're such a weeb grow up