QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#253972 | #7110. Kuririn MIRACLE | ucup-team2454 | Compile Error | / | / | C++20 | 1.4kb | 2023-11-17 21:01:24 | 2023-11-17 21:01:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘long long int read()’: answer.code:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%lld", &ans); | ~~~~~^~~~~~~~~~~~~~ answer.code: In function ‘int fuck()’: answer.code:36:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 36 | freopen("data", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ answer.code:39:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%lf %lf %lf", &v, &R, &d); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status