結果
| 問題 |
No.169 何分かかるの!?
|
| コンテスト | |
| ユーザー |
184
|
| 提出日時 | 2015-03-22 23:33:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 275 bytes |
| コンパイル時間 | 530 ms |
| コンパイル使用メモリ | 65,096 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-29 00:12:02 |
| 合計ジャッジ時間 | 1,080 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 15 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
16 | int k,s;scanf("%d%d",&k,&s);
| ~~~~~^~~~~~~~~~~~~~
ソースコード
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <map>
#include <vector>
#include <queue>
using namespace std;
//namaega184
int main(){
int k,s;scanf("%d%d",&k,&s);
printf("%d\n",100/(100-k)*s);
return 0;
}
184