QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#661548#8577. 평균 최대화Naganohara_YoimiyaCompile Error//C++20289b2024-10-20 16:47:002024-10-20 16:47:01

Judging History

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

  • [2024-10-20 16:47:01]
  • 评测
  • [2024-10-20 16:47:00]
  • 提交

answer

#include<bits/stdc++.h>

#define ll long long
#define mk make_pair
#define fi first
#define se second
#define ull unsigned long long

using namespace std;

array<ll,2>maximum_average(int l,int r){
	return {0,0}
}


void initialize(vector<int>A){
int yoimiya=1;yoimiya++;
}

詳細信息

answer.code: In function ‘std::array<long long int, 2> maximum_average(int, int)’:
answer.code:12:21: error: expected ‘;’ before ‘}’ token
   12 |         return {0,0}
      |                     ^
      |                     ;
   13 | }
      | ~