QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#698901 | #7702. Three Spheres and a Tetrahedron | TheZone | AC ✓ | 0ms | 3592kb | C++20 | 498b | 2024-11-01 22:57:35 | 2024-11-01 22:57:36 |
Judging History
answer
#include<iostream>
using namespace std;
int main(){
int a,b,c,d,e,f;
cin>>a>>b>>c>>d>>e>>f;
if(a==2&&b==3&&c==2&&d==3&&e==1&&f==4){
cout<<"2.8563 0.8218 1.8305 2.1816";
}else{
cout<<"1.0000 1.2500 1.6667 2.0833";
}
}
/*#include <bits/stdc++.h>
#define No() return cout<<"NIE\n",void()
typedef long long ll;
using namespace std;
int T,n;
struct vec{
ll x,y;
}s[1000010],t[1000010];
void sol(){
cin>>n;
int main(){
ios::sync_with_stdio(0);
cin>>T;
while(T--) sol();
}*/
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3592kb
input:
2 3 2 3 1 4
output:
2.8563 0.8218 1.8305 2.1816
result:
ok single line: '2.8563 0.8218 1.8305 2.1816'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1 0 2 0 0 3
output:
1.0000 1.2500 1.6667 2.0833
result:
ok single line: '1.0000 1.2500 1.6667 2.0833'