QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#311386#6668. TrokutiQiuly#Compile Error//C++173.8kb2024-01-22 11:53:142024-07-04 03:21:14

Details

answer.code: In function ‘int main()’:
answer.code:99:40: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
   99 |         lep (j, 0, n - 1) putchar ("0" + adj[i][j]);
In file included from /usr/include/stdio.h:864,
                 from /usr/include/c++/13/cstdio:42,
                 from /usr/include/c++/13/ext/string_conversions.h:45,
                 from /usr/include/c++/13/bits/basic_string.h:4097,
                 from /usr/include/c++/13/string:54,
                 from /usr/include/c++/13/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:52,
                 from answer.code:2:
/usr/include/x86_64-linux-gnu/bits/stdio.h:82:14: note:   initializing argument 1 of ‘int putchar(int)’
   82 | putchar (int __c)
      |          ~~~~^~~