QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#387857#6397. Master of Both IIIzac2010Compile Error//C++20559b2024-04-12 22:05:322024-04-12 22:05:33

详细

answer.code: In function ‘int main()’:
answer.code:18:31: error: expected primary-expression before ‘|’ token
   18 |                         int j=|mov(i,t);
      |                               ^
answer.code:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   14 |         for(int i=0;i<n;i++) scanf("%lld",&w[i]);
      |                              ~~~~~^~~~~~~~~~~~~~