X_zzl 2021-12-12 15:22 采纳率: 0%
浏览 187

VScode 使用万能头后报错了;


#include<bits/stdc++.h>
using namespace std;
#define ll unsigned long long 
int main()
{
    ll t;
    scanf("%llu",&t);
    t=t/1000;
    t=t%(24*3600);
    int h=0,m=0,s=0;
    s=t%60;t/=60;
    m=t%60;t/=60;
    h=t;
    printf("%02d:%02d:%02d",h,m,s);
    system("pause");
    return 0;
}

img

  • 写回答

2条回答 默认 最新

  • 关注

    c_cpp_properties.json文件里

    {
    "configurations": [
    {
    "name": "Win32",
    "includePath": [
    "${workspaceFolder}/**",
    "C:/Program Files (x86)/Dev-Cpp/MinGW64/include",
    "C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include"
    ],
    "compilerPath":"C:/Program Files (x86)/Dev-Cpp/MinGW64/bin/g++.exe",//这一行
    "browse": {
    "limitSymbolsToIncludedHeaders": true,
    "databaseFilename": ""
    }
    }
    ],
    "version": 4
    }
    
    
    评论

报告相同问题?

问题事件

  • 创建了问题 12月12日