結果
| 問題 |
No.51 やる気の問題
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-02 18:55:00 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 155 bytes |
| コンパイル時間 | 450 ms |
| コンパイル使用メモリ | 54,752 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 13:31:35 |
| 合計ジャッジ時間 | 1,917 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 RE * 6 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int w,d;
cin >> w >> d;
for(int i = d;i != 1;i--) w -= w / (i * i);
cout << w << endl;
}
ldsyb