/ XMU_ACM /

记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:17:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
       ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                   ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                         ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:104: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                               ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:126: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                     ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:148: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                           ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:170: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                 ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:192: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                       ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:214: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                             ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:236: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                   ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:258: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                                         ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:280: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                                                               ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:302: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                                                                                     ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:324: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                                                                                                           ~~~~~~~~~^~~~~~~~~~~
foo.cc:17:346: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j]=='A'&&a[x]=='A'||a[j]=='H'&&a[x]=='H'||a[j]=='I'&&a[x]=='I'||a[j]=='M'&&a[x]=='M'||a[j]=='O'&&a[x]=='O'||a[j]=='T'&&a[x]=='T'||a[j]=='U'&&a[x]=='U'||a[j]=='V'&&a[x]=='V'||a[j]=='W'&&a[x]=='W'||a[j]=='Y'&&a[x]=='Y'||a[j]=='o'&&a[x]=='o'||a[j]=='x'&&a[x]=='x'||a[j]=='b'&&a[x]=='d'||a[j]=='d'&&a[x]=='b'||a[j]=='p'&&a[x]=='q'||a[j]=='q'&&a[x]=='p')
                                                                                                                                                                                                                                                                                                                                                 ~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Memory Exceeded ≥1ms ≥16.0 KiB
#2 Memory Exceeded ≥1ms ≥16.0 KiB

信息

递交者
类型
递交
题目
Alphabet(多组测试数据样题)
语言
C++
递交时间
2021-01-21 14:20:20
评测时间
2021-01-21 14:20:20
评测机
分数
0
总耗时
≥2ms
峰值内存
≥16.0 KiB