結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
hotman78
|
| 提出日時 | 2020-02-28 20:09:04 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 223 bytes |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 63,228 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-10-13 16:33:34 |
| 合計ジャッジ時間 | 896 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
#include <iostream>
#include <cstdlib>
using namespace::std;
int main(){
auto call=[](auto f,auto... args){return f(f,args...);};
auto f=[&](auto f,int n)->int{return n?n+f(f,n-1):0;};
cout<<call(f,100)<<endl;
}
hotman78