ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 5ad298dd-e131-442d-835e-0b714f02a785
コード
int main() { int A,B,C,T; cin >> A >> B >> C >> T; if(1/A < C/T){ cout << 1 << endl; } else if(1/B < C/T){ cout << 1 << endl; } else(){ cout < 0 << endl; } }
結果
問題
点数
言語
結果
実行時間
メモリ
B - Dash
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp: In function 'int main()': Main.cpp:3:5: error: 'cin' was not declared in this scope 3 | cin >> A >> B >> C >> T; | ^~~ Main.cpp:5:9: error: 'cout' was not declared in this scope 5 | cout << 1 << endl; | ^~~~ Main.cpp:5:22: error: 'endl' was not declared in this scope 5 | cout << 1 << endl; | ^~~~ Main.cpp:8:9: error: 'cout' was not declared in this scope 8 | cout << 1 << endl; | ^~~~ Main.cpp:8:22: error: 'endl' was not declared in this scope 8 | cout << 1 << endl; | ^~~~ Main.cpp:10:10: error: expected primary-expression before ')' token 10 | else(){ | ^