QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#473941#5090. 妙妙题XiaoShanYunPanCompile Error//C++14185b2024-07-12 15:08:222024-07-12 15:08:22

Judging History

This is the latest submission verdict.

  • [2024-07-12 15:08:22]
  • Judged
  • [2024-07-12 15:08:22]
  • Submitted

answer

#include<bits/stdc++.h>
using namespace std;
void init(int a,int b,int c){return;}
bool guess(unsigned long long a,int b)
{
	printf("JFIBEIIYTAFEUXOULOWO\n1.000000");
	exit(0);
}

详细

implementer.cpp: In function ‘int _JFIBEIIYTAFEUXOULOWO_::main()’:
implementer.cpp:31:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   31 |                 auto [A,x,y,z]=V[i];
      |                      ^
implementer.cpp:36:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   36 |         for(auto [A,x,y]:U)
      |                  ^
implementer.cpp:39:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   39 |                 auto [A,x,y,z]=V[i];
      |                      ^
implementer.cpp:18:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   18 |         scanf("%d%d%d%d",&N,&Type,&p,&T);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
implementer.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   23 |                 scanf("%llu",&x);
      |                 ~~~~~^~~~~~~~~~~
/usr/bin/ld: /tmp/ccWJfvRF.o: in function `_JFIBEIIYTAFEUXOULOWO_::main()':
implementer.cpp:(.text.startup+0x6c): undefined reference to `init(int, bool, int)'
collect2: error: ld returned 1 exit status