結果
問題 | No.328 きれいな連立方程式 |
ユーザー |
|
提出日時 | 2020-02-23 18:03:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 529 ms |
コンパイル使用メモリ | 64,664 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-10 06:57:00 |
合計ジャッジ時間 | 1,488 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 4 | main() | ^~~~
ソースコード
#include<iostream>using namespace std;long c1,c2,c3,c4;main(){cin>>c1>>c2>>c3>>c4;long X=c1*c3-c2*c2;long al=c2*c4-c3*c3;long be=c1*c4-c2*c3;cout<<(be*be<4*al*X?"I":"R")<<endl;}