QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#168730#6418. Ah, It's Yesterday Once MoreNOI_AK_MECompile Error//C++23494b2023-09-08 20:47:182023-09-08 20:47:18

Judging History

你现在查看的是最新测评结果

  • [2023-09-08 20:47:18]
  • 评测
  • [2023-09-08 20:47:18]
  • 提交

answer

#include <stdio.h>
main() {
    puts("R(20 20
11101110111110111110
10011011001011001011
11101101101101101101
10110110110110110110
11011011011011011011
01101101101101101101
10110110110110110111
10011011011011011001
11101101101101101101
10110110110110110110
11011011011011011011
01101101101101101101
10110110110110110111
10011011011011011001
11101101101101101101
10110110110110110110
11011011011011011011
01101101101101101101
10110110100110100111
11100011111011111001)");
}

Details

answer.code:3:10: warning: missing terminating " character
    3 |     puts("R(20 20
      |          ^
answer.code:3:10: error: missing terminating " character
    3 |     puts("R(20 20
      |          ^~~~~~~~
answer.code:4:1: warning: integer constant is so large that it is unsigned
    4 | 11101110111110111110
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:5:1: warning: integer constant is so large that it is unsigned
    5 | 10011011001011001011
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:6:1: warning: integer constant is so large that it is unsigned
    6 | 11101101101101101101
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:7:1: warning: integer constant is so large that it is unsigned
    7 | 10110110110110110110
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:8:1: warning: integer constant is so large that it is unsigned
    8 | 11011011011011011011
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:10:1: warning: integer constant is so large that it is unsigned
   10 | 10110110110110110111
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:11:1: warning: integer constant is so large that it is unsigned
   11 | 10011011011011011001
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:12:1: warning: integer constant is so large that it is unsigned
   12 | 11101101101101101101
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:13:1: warning: integer constant is so large that it is unsigned
   13 | 10110110110110110110
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:14:1: warning: integer constant is so large that it is unsigned
   14 | 11011011011011011011
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:16:1: warning: integer constant is so large that it is unsigned
   16 | 10110110110110110111
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:17:1: warning: integer constant is so large that it is unsigned
   17 | 10011011011011011001
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:18:1: warning: integer constant is so large that it is unsigned
   18 | 11101101101101101101
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:19:1: warning: integer constant is so large that it is unsigned
   19 | 10110110110110110110
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:20:1: warning: integer constant is so large that it is unsigned
   20 | 11011011011011011011
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:22:1: warning: integer constant is so large that it is unsigned
   22 | 10110110100110100111
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:23:1: warning: integer constant is so large that it is unsigned
   23 | 11100011111011111001)");
      | ^~~~~~~~~~~~~~~~~~~~
answer.code:23:22: warning: missing terminating " character
   23 | 11100011111011111001)");
      |                      ^
answer.code:23:22: error: missing terminating " character
   23 | 11100011111011111001)");
      |                      ^~~
answer.code:2:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
    2 | main() {
      | ^~~~
answer.code: In function ‘int main()’:
answer.code:4:21: error: expected ‘)’ before numeric constant
    4 | 11101110111110111110
      |                     ^
      |                     )
    5 | 10011011001011001011
      | ~~~~~~~~~~~~~~~~~~~~ 
answer.code:3:9: note: to match this ‘(’
    3 |     puts("R(20 20
      |         ^
answer.code:4:1: error: invalid conversion from ‘__int128’ to ‘const char*’ [-fpermissive]
    4 | 11101110111110111110
      | ^~~~~~~~~~~~~~~~~~~~
      | |
      | __int128
In file included from answer.code:1:
/usr/include/stdio.h:632:30: note:   initializing argument 1 of ‘int puts(const char*)’
  632 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
answer.code:23:22: error: expected ‘;’ before ‘}’ token
   23 | 11100011111011111001)");
      |                      ^
      |                      ;
   24 | }
      | ~