QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#354352#7780. Dark LaTeX vs. Light LaTeXDiaosiCompile Error//C++171.8kb2024-03-15 10:44:422024-03-15 10:44:44

Details

answer.code:6:28: error: conflicting declaration ‘typedef long long unsigned int uint’
    6 | typedef unsigned long long uint;
      |                            ^~~~
In file included from /usr/include/stdlib.h:394,
                 from /usr/include/c++/13/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:42,
                 from answer.code:3:
/usr/include/x86_64-linux-gnu/sys/types.h:150:22: note: previous declaration as ‘typedef unsigned int uint’
  150 | typedef unsigned int uint;
      |                      ^~~~
answer.code: In function ‘int main()’:
answer.code:63:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   63 |         scanf("%s%s",s,t);
      |         ~~~~~^~~~~~~~~~~~