結果
問題 |
No.427 テレビ
|
ユーザー |
|
提出日時 | 2018-02-10 23:28:31 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 314 bytes |
コンパイル時間 | 806 ms |
コンパイル使用メモリ | 72,504 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 16:25:22 |
合計ジャッジ時間 | 1,692 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 3 WA * 5 |
コンパイルメッセージ
main.cpp: In function 'int main()': main.cpp:15:9: warning: 'w' is used uninitialized [-Wuninitialized] 15 | if(h/w==0.75) | ~^~ main.cpp:12:15: note: 'w' was declared here 12 | double h, w; | ^
ソースコード
#include <iostream> #include <stdio.h> #include <algorithm> #include <math.h> #include <utility> #include <vector> using namespace std; int main(void) { double h, w; cin >> h, w; if(h/w==0.75) cout <<"YOKO" << endl; else cout << "TATE" << endl; return 0; }