F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27950985_4096.cpp:16:19: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                   ^
0_0_27950985_4096.cpp:16:26: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                          ^
0_0_27950985_4096.cpp:16:45: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                             ^
0_0_27950985_4096.cpp:16:51: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                                   ^
0_0_27950985_4096.cpp:16:70: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                                                      ^
0_0_27950985_4096.cpp:16:78: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                                                              ^
0_0_27950985_4096.cpp:16:97: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                                                                                 ^
0_0_27950985_4096.cpp:16:103: error: empty character constant
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                                                                                                       ^
0_0_27950985_4096.cpp:17:8: error: empty character constant
 printf(''MAI MAI MAI!\n'');
        ^
0_0_27950985_4096.cpp:17:1: error: stray '\' in program
 printf(''MAI MAI MAI!\n'');
 ^
0_0_27950985_4096.cpp:17:24: error: empty character constant
 printf(''MAI MAI MAI!\n'');
                        ^
0_0_27950985_4096.cpp:18:24: error: empty character constant
 else if(s.substr(i,4)==''Sony'')
                        ^
0_0_27950985_4096.cpp:18:30: error: empty character constant
 else if(s.substr(i,4)==''Sony'')
                              ^
0_0_27950985_4096.cpp:19:8: error: empty character constant
 printf(''SONY DAFA IS GOOD!\n'');
        ^
0_0_27950985_4096.cpp:19:1: error: stray '\' in program
 printf(''SONY DAFA IS GOOD!\n'');
 ^
0_0_27950985_4096.cpp:19:30: error: empty character constant
 printf(''SONY DAFA IS GOOD!\n'');
                              ^
0_0_27950985_4096.cpp: In function 'int main()':
0_0_27950985_4096.cpp:16:19: error: unable to find character literal operator 'operator""Apple' with 'int' argument
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                   ^
0_0_27950985_4096.cpp:16:26: error: expected ')' before '\x0'
 if(s.substr(i,5)==''Apple''||s.substr(i,4)==''iPod''||s.substr(i,6)==''iPhone''||s.substr(i,4)==''iPad'')
                          ^
0_0_27950985_4096.cpp:17:8: error: unable to find character literal operator 'operator""MAI' with 'int' argument
 printf(''MAI MAI MAI!\n'');
        ^
0_0_27950985_4096.cpp:18:24: error: unable to find character literal operator 'operator""Sony' with 'int' argument
 else if(s.substr(i,4)==''Sony'')
                        ^
0_0_27950985_4096.cpp:18:30: error: expected ')' before '\x0'
 else if(s.substr(i,4)==''Sony'')
                              ^
0_0_27950985_4096.cpp:19:8: error: unable to find character literal operator 'operator""SONY' with 'int' argument
 printf(''SONY DAFA IS GOOD!\n'');
        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-10 19:59:27, Gzip enabled