Submission #3785865
Source Code Expand
/* ID: Anfangen LANG: C++ PROG: frac1 */ #include <cstdio> #include <iostream> #include <cstring> #include <string> #include <stack> #include <utility> #include <functional> #include <cstdlib> #include <cmath> #include <vector> #include <algorithm> #include <map> #include <set> #include <queue> #define rep(i,a,b) for(int i=(a);i<=(b);++i) #define dec(i,a,b) for(int i=(a);i>=(b);--i) #define endll putchar('\n'); #define RI register int #define gc() getchar() using namespace std; typedef long long ll; typedef pair<int,int> P; inline ll read(){ char ch=getchar();ll x=0,f=1; while(ch<'0'||ch >'9') { if(ch=='-') f=-1; ch=getchar(); } while('0'<=ch&&ch<='9') { x=x*10+ch-'0'; ch=getchar(); } return x*f; } inline void print(ll k){ if(k<0) k=-k,putchar('-'); if(k>9) print(k/10); putchar(k%10+48); } inline void println(ll k){ print(k); endll; } inline void printsp(ll p){ print(p); putchar(' '); } inline void printspfirst(ll p){ putchar(' '); print(p); } int main(){ string tmp,tmp2,tmp3; cin>>tmp>>tmp2>>tmp3; if(tmp.length()==5&&tmp2.length()==7&&tmp3.length()==5) cout<<"valid"<<endl; else cout<<"invalid"<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - コード川柳 |
User | luogu_bot4 |
Language | C++ (GCC 5.4.1) |
Score | 100 |
Code Size | 1243 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample-01.txt, sample-02.txt |
All | sample-01.txt, sample-02.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, 01-15.txt, sample-01.txt, sample-02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01-01.txt | AC | 1 ms | 256 KB |
01-02.txt | AC | 1 ms | 256 KB |
01-03.txt | AC | 1 ms | 256 KB |
01-04.txt | AC | 1 ms | 256 KB |
01-05.txt | AC | 1 ms | 256 KB |
01-06.txt | AC | 1 ms | 256 KB |
01-07.txt | AC | 1 ms | 256 KB |
01-08.txt | AC | 1 ms | 256 KB |
01-09.txt | AC | 1 ms | 256 KB |
01-10.txt | AC | 1 ms | 256 KB |
01-11.txt | AC | 1 ms | 256 KB |
01-12.txt | AC | 1 ms | 256 KB |
01-13.txt | AC | 1 ms | 256 KB |
01-14.txt | AC | 1 ms | 256 KB |
01-15.txt | AC | 1 ms | 256 KB |
sample-01.txt | AC | 1 ms | 256 KB |
sample-02.txt | AC | 1 ms | 256 KB |