結果

問題 No.1517 Party Location
ユーザー 👑 Nachia
提出日時 2021-05-14 00:07:33
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 588 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 25,088 KB
最終ジャッジ日時 2025-01-21 10:49:20
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp:6:10: fatal error: testlib.h: No such file or directory
    6 | #include "testlib.h"
      |          ^~~~~~~~~~~
compilation terminated.

ソースコード

diff #

//
// Validator 1.0
//

#include "testlib.h"
#include <iostream>

using namespace std;
using ll = long long;
using ull = unsigned long long;
#define rep(i,n) for(int i=0; i<(n); i++)


int main(){
  registerValidation();
  int d = inf.readInt(0,10000);
  inf.readEoln();
  int a = inf.readInt(0,1000);
  inf.readChar(' ');
  int b = inf.readInt(0,1000);
  inf.readEoln();
  inf.readEof();
  int ans = min(a*d,b*d);
  cout << ans << "\n";
  return 0;
}


struct ios_do_not_sync{
  ios_do_not_sync(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
  }
} ios_do_not_sync_instance;

0