QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#226180#1277. PermutationHuangHanShengCompile Error//C++171.6kb2023-10-25 17:46:172023-10-25 17:46:17

详细

answer.code: In function ‘void solve()’:
answer.code:57:50: error: ‘class __gnu_pbds::gp_hash_table<long long int, int>’ has no member named ‘count’
   57 |                                         if(!f[u].count(S_))f[u][S_] = 0;
      |                                                  ^~~~~
answer.code:69:58: error: ‘class __gnu_pbds::gp_hash_table<long long int, int>’ has no member named ‘count’
   69 |                                                 if(!f[u].count(S_))f[u][S_] = 0;
      |                                                          ^~~~~
answer.code:83:18: error: ‘class __gnu_pbds::gp_hash_table<long long int, int>’ has no member named ‘count’
   83 |         if(!f[n].count((1ll << n) - 1))printf("%d\n", ans);
      |                  ^~~~~
answer.code:37:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   37 |         scanf("%d", &n);
      |         ~~~~~^~~~~~~~~~
answer.code:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   41 |                 scanf("%d", &a[i]);
      |                 ~~~~~^~~~~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:89:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   89 |         scanf("%d", &T);
      |         ~~~~~^~~~~~~~~~