软件工程作业
package Text;
public class lala {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
public class lala {
public static void main(String[] args) {
int MaxSum; (int *A int n);
{
int maximum=-INF;
int sum;
for(int i=0;i
{ sum=0;
for(int j=i;j
{
sum+=A[j];
if(sum>maximum)
maximum=sum;
}
} return maximum;
}
}
}
public static void main(String[] args) {
char a[]="Hello world!";
int i=0;
int j=0;
for(i=0;a\[i\];i++);
for(j=0;j<(i>>1);j++){
a[j]|=a[i-j];
a[i-j]|=a[j];
a[j]|=a[i-j];
}
}
}