QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#295927#4939. Red Black Ballucup-team2880#Compile Error//C++202.7kb2024-01-01 16:17:502024-01-01 16:17:51

详细

answer.code:104:2: error: ‘dnasjukdhasikdh’ does not name a type
  104 | }dnasjukdhasikdh
      |  ^~~~~~~~~~~~~~~
answer.code: In function ‘void init()’:
answer.code:80:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   80 |         scanf("%d%d",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code:82:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   82 |                 scanf("%d",&a[i].pos);
      |                 ~~~~~^~~~~~~~~~~~~~~~
answer.code:83:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   83 |                 scanf("%s",s+1);
      |                 ~~~~~^~~~~~~~~~
answer.code:97:25: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   97 |         rep(i,1,m) scanf("%d",&b[i]);
      |                    ~~~~~^~~~~~~~~~~~