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_30458863_10005.cpp: In function 'int main()':
0_0_30458863_10005.cpp:209:51: error: too few arguments to function 'std::string getstr(std::string&, long long int, long long int)'
         n=getint();m=getint();q=getint();s=getstr();
                                                   ^
0_0_30458863_10005.cpp:101:15: note: declared here
 inline string getstr(string &s,int l,int r){string ret="";for(int i=l;i<=r;i++)ret.push_back(s[i]);return ret;}
               ^
0_0_30458863_10005.cpp:217:11: error: 'clear' was not declared in this scope
     clear();
           ^
0_0_30458863_10005.cpp:217:11: note: suggested alternative:
0_0_30458863_10005.cpp:25:9: note:   'fastio::clear'
     int clear(){
         ^


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-11-26 06:15:30, Gzip enabled