QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#84148#5523. Graph Problem With Small $n$lzhm_ak_ioiCompile Error//C++14123b2023-03-05 19:56:452023-03-05 19:56:48

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-03-05 19:56:48]
  • 评测
  • [2023-03-05 19:56:45]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
inline max(int a,int b){
	return a>b?a:b;
}
int main(){
	
	return 0;
}

Details

answer.code:3:8: error: ISO C++ forbids declaration of ‘max’ with no type [-fpermissive]
    3 | inline max(int a,int b){
      |        ^~~