結果
問題 |
No.1902 AC Ratio
|
ユーザー |
|
提出日時 | 2025-08-26 10:44:47 |
言語 | cLay (20241019-1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 48 bytes |
コンパイル時間 | 2,395 ms |
コンパイル使用メモリ | 183,780 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-08-26 10:44:50 |
合計ジャッジ時間 | 3,361 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:182:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 182 | scanf("%d/%d", &a,&b); | ~~~~~^~~~~~~~~~~~~~~~
ソースコード
int a,b; scanf("%d/%d", &a,&b); wt(double(a)/b);