Submission #00040


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include<bits/stdc++.h>
#define FOR(i,n) for(int i=0;i<n;i++)
#define SFOR(i,a,b) for(int i=a;i<b;i++)
#define elif(a) else if(a)
#define INF INT_MAX
#define F first
#define S second
#define endl '\n'
using namespace std;
typedef long long ll;
typedef pair<int,int>P;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
int n,f=0;
cin>>n;
for(int i=1;i<=10;i++){
if(i*i==n){
f=1;
break;
}
}
if(f || n==0) cout<<"India"<<endl;
else cout<<"Ceylon"<<endl;
return 0;
}

ステータス

項目 データ
問題 0003 - 認証主義
ユーザー名 Zzz..ei1704..Zzz
投稿日時 2019-05-07 16:48:10
言語 C++14
状態 Accepted
得点 125
ソースコード長 534 Byte
最大実行時間 26 ms
最大メモリ使用量 632 KB

セット

セット 得点 Cases
1 ALL 125 / 125 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in00 AC 26 ms 472 KB
1
in01 AC 21 ms 424 KB
1
in02 AC 22 ms 512 KB
1
in03 AC 19 ms 468 KB
1
in04 AC 19 ms 552 KB
1
in05 AC 19 ms 512 KB
1
in06 AC 18 ms 464 KB
1
in07 AC 20 ms 548 KB
1
in08 AC 22 ms 504 KB
1
in09 AC 24 ms 464 KB
1
in10 AC 22 ms 548 KB
1
in11 AC 24 ms 632 KB
1
in12 AC 23 ms 584 KB
1
in13 AC 22 ms 536 KB
1
in14 AC 19 ms 624 KB
1
in15 AC 17 ms 580 KB
1
in16 AC 18 ms 540 KB
1
in17 AC 22 ms 492 KB
1
in18 AC 17 ms 568 KB
1
in19 AC 18 ms 524 KB
1
in20 AC 18 ms 612 KB
1
in21 AC 24 ms 568 KB
1
in22 AC 17 ms 524 KB
1