#1802: b429 answer


1753422-4@g.puiching.edu.mo (P5A30廖善衡 :)

School : Pui Ching Middle School
ID : 2950
IP address : [192.168.120.33]
Last Login :
2025-06-05 11:34:59
b429. 正方形的周長和面積 | From: [192.168.120.33] | Post Date : 2025-03-12 21:46

#include<iostream>

using namespace std;

int main(){

int a,b;

cin>>a;

b = a/4*a/4;

cout<<b;

return 0;

}

 
#2088: Re:b429 answer


1754382-7@g.puiching.edu.mo (鄧栩昕K1A38)

School : No School
ID : 3099
IP address : [192.168.120.33]
Last Login :
2025-06-23 08:43:03
b429. 正方形的周長和面積 | From: [192.168.120.33] | Post Date : 2025-05-18 16:23

#include <iostream>

using namespace std;

int main(){

int a,b;

cin>>a;

b = a/4*a/4;

cout<<b;

return 0;

}//bug fixed :)



 
ZeroJudge Forum