Submission #3699141
Source Code Expand
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cstdlib> #include<string> #include<cmath> #include<map> #include<set> #include<vector> #include<deque> #include<queue> #include<stack> using namespace std; typedef long long LL; inline LL read() { LL xs=0,kr=1;char ls; ls=getchar(); while(!isdigit(ls)) { if(!(ls^45)) kr=-1; ls=getchar(); } while(isdigit(ls)) { xs=(xs<<1)+(xs<<3)+(ls^48); ls=getchar(); } return xs*kr; } inline void lck_out(LL xs) { char kr[2018];LL lenth=false; if(!xs) putchar('0'),putchar('\n'); else { do kr[lenth++]=xs%10,xs/=10; while(xs); --lenth; while(~lenth) putchar(kr[lenth]+48),--lenth; putchar('\n'); } return ; } LL chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ; const int mod=21; int main() { chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ=read(); chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ%=40; if(chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ<=20) lck_out(chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ); else lck_out(41-chen_zhe_love_me_very_much_and_force_me_to_marry_with_him_oh_i_just_am_a_boy_QWQ); return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - チーム作り |
User | luogu_bot5 |
Language | C++ (GCC 5.4.1) |
Score | 100 |
Code Size | 1353 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00-sample-00, 00-sample-01, 10-random-00, 10-random-01, 10-random-02, 10-random-03, 10-random-04, 10-random-05, 10-random-06, 10-random-07, 10-random-08, 10-random-09, 10-random-10, 10-random-11, 10-random-12, 10-random-13, 10-random-14, 10-random-15, 10-random-16, 10-random-17, 10-random-18, 10-random-19, 10-random-20, 10-random-21, 10-random-22, 10-random-23, 10-random-24, 10-random-25, 10-random-26, 10-random-27, 10-random-28, 10-random-29 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00-sample-00 | AC | 1 ms | 256 KB |
00-sample-01 | AC | 1 ms | 256 KB |
10-random-00 | AC | 1 ms | 256 KB |
10-random-01 | AC | 1 ms | 256 KB |
10-random-02 | AC | 1 ms | 256 KB |
10-random-03 | AC | 1 ms | 256 KB |
10-random-04 | AC | 1 ms | 256 KB |
10-random-05 | AC | 1 ms | 256 KB |
10-random-06 | AC | 1 ms | 256 KB |
10-random-07 | AC | 1 ms | 256 KB |
10-random-08 | AC | 1 ms | 256 KB |
10-random-09 | AC | 1 ms | 256 KB |
10-random-10 | AC | 1 ms | 256 KB |
10-random-11 | AC | 1 ms | 256 KB |
10-random-12 | AC | 1 ms | 256 KB |
10-random-13 | AC | 1 ms | 256 KB |
10-random-14 | AC | 1 ms | 256 KB |
10-random-15 | AC | 1 ms | 256 KB |
10-random-16 | AC | 1 ms | 256 KB |
10-random-17 | AC | 1 ms | 256 KB |
10-random-18 | AC | 1 ms | 256 KB |
10-random-19 | AC | 1 ms | 256 KB |
10-random-20 | AC | 1 ms | 256 KB |
10-random-21 | AC | 1 ms | 256 KB |
10-random-22 | AC | 1 ms | 256 KB |
10-random-23 | AC | 1 ms | 256 KB |
10-random-24 | AC | 1 ms | 256 KB |
10-random-25 | AC | 1 ms | 256 KB |
10-random-26 | AC | 1 ms | 256 KB |
10-random-27 | AC | 1 ms | 256 KB |
10-random-28 | AC | 1 ms | 256 KB |
10-random-29 | AC | 1 ms | 256 KB |