QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#708465#5447. 鸽子TheZoneCompile Error//C++23399b2024-11-03 22:42:012024-11-03 22:42:03

Judging History

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

  • [2024-11-03 22:42:03]
  • 评测
  • [2024-11-03 22:42:01]
  • 提交

answer

#include <string>
int pigeon_num(int Taskid, int k){
	return 5;
}
std::string send(int Taskid, int n, int k, __uint128_t msg){
	return "10101";
}
class Init{
public:
	Init(){
	}
};
__uint128_t receive(int Taskid, int k, const std::string &msg){
	const static Init init;
	{
		__uint128_t hi = 5281683694948011861llu;
		__uint128_t lo = 3195384480471073102llu;
		return hi<<64|lo;
	}

Details

answer.code: In function ‘__int128 unsigned receive(int, int, const string&)’:
answer.code:19:10: error: expected ‘}’ at end of input
   19 |         }
      |          ^
answer.code:13:63: note: to match this ‘{’
   13 | __uint128_t receive(int Taskid, int k, const std::string &msg){
      |                                                               ^