#2159: why this is CE not MLE


1752786-4@g.puiching.edu.mo (林敬晉P5A08(JalenLam_progamer)(IQ...)

School : Pui Ching Middle School
ID : 3260
IP address : [192.168.120.33]
Last Login :
2025-06-05 11:37:15
a001. 哈囉 -- Brian Kernighan | From: [192.168.120.33] | Post Date : 2025-05-27 21:42

#include<bits/stdc++.h>

using namespace std;

int main(){

    int a[23218321339213];

    string str;

    while(cin>>str) cout<<"hello, "<<str<<"\n";

}

 
#2160: Re:why this is CE not MLE


1752786-4@g.puiching.edu.mo (林敬晉P5A08(JalenLam_progamer)(IQ...)

School : Pui Ching Middle School
ID : 3260
IP address : [192.168.120.33]
Last Login :
2025-06-05 11:37:15
a001. 哈囉 -- Brian Kernighan | From: [192.168.120.33] | Post Date : 2025-05-27 21:43

#include<bits/stdc++.h>

using namespace std;

int main(){

    int a[23218321339213];

    string str;

    while(cin>>str) cout<<"hello, "<<str<<"\n";

}


sorry, the correct version is

#include<bits/stdc++.h>

using namespace std;

int main(){

    int a[232183213392131111111111111111111111111111111111111111111111111];

    string str;

    while(cin>>str) cout<<"hello, "<<str<<"\n";

}

 
ZeroJudge Forum