QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#310495 | #5419. Triangles | OFforest_1273 | WA | 1ms | 3732kb | C++14 | 320b | 2024-01-21 14:54:00 | 2024-01-21 14:54:02 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
inline int read(){int s=0,f=1;char c=getchar();while(c<'0'||c>'9'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9')s=(s<<1)+(s<<3)+(c^48),c=getchar();return s*f;}
int k;
int main(){
k=read();
if(k<8)printf("No\n");
else printf("Yes\n");
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3732kb
input:
2
output:
No
result:
ok no solution
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3732kb
input:
24
output:
Yes
result:
wrong output format Unexpected end of file - int32 expected