提出 #21995520


ソースコード 拡げる

#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;
template<class T,class U> inline bool chmin(T&x,U y){if(x>y){x=y;return true;}return false;}
template<class T,class U> inline bool chmax(T&x,U y){if(x<y){x=y;return true;}return false;}

void solve(){
    int a,b,c;
    cin>>a>>b>>c;
    puts(a*a+b*b<c*c?"Yes":"No");
}

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    solve();
}

提出情報

提出日時
問題 A - Square Inequality
ユーザ Motsu_xe
言語 C++ (GCC 9.2.1)
得点 100
コード長 482 Byte
結果 AC
実行時間 8 ms
メモリ 3700 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 21
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All handmade_00.txt, handmade_01.txt, handmade_02.txt, handmade_03.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
handmade_00.txt AC 8 ms 3632 KiB
handmade_01.txt AC 2 ms 3648 KiB
handmade_02.txt AC 2 ms 3528 KiB
handmade_03.txt AC 3 ms 3480 KiB
random_00.txt AC 3 ms 3556 KiB
random_01.txt AC 2 ms 3492 KiB
random_02.txt AC 2 ms 3608 KiB
random_03.txt AC 2 ms 3472 KiB
random_04.txt AC 2 ms 3652 KiB
random_05.txt AC 3 ms 3480 KiB
random_06.txt AC 2 ms 3548 KiB
random_07.txt AC 2 ms 3632 KiB
random_08.txt AC 2 ms 3604 KiB
random_09.txt AC 2 ms 3608 KiB
random_10.txt AC 3 ms 3700 KiB
random_11.txt AC 3 ms 3684 KiB
random_12.txt AC 3 ms 3496 KiB
random_13.txt AC 2 ms 3580 KiB
sample_01.txt AC 2 ms 3604 KiB
sample_02.txt AC 2 ms 3656 KiB
sample_03.txt AC 2 ms 3652 KiB