QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#236492#5436. DRX vs. T1ZhangYiDeCompile Error//C++20218b2023-11-04 00:22:352023-11-04 00:22:36

詳細信息

answer.code: In function ‘int main()’:
answer.code:10:6: error: ‘I’ was not declared in this scope
   10 | if(s[I]=='T')++t;
      |      ^
answer.code:5:6: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 | scanf("%s",s);
      | ~~~~~^~~~~~~~