結果

問題 No.8085 Math...?
ユーザー 👑 Nachia
提出日時 2021-04-01 20:48:03
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 397 bytes
コンパイル時間 1,855 ms
コンパイル使用メモリ 194,280 KB
最終ジャッジ日時 2025-01-20 05:56:30
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 2 WA * 24
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:15:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   15 |   scanf("%d",&Q);
      |   ~~~~~^~~~~~~~~
main.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   16 |   A.resize(Q); rep(i,Q) scanf("%d",&A[i]);
      |                         ~~~~~^~~~~~~~~~~~
main.cpp:17:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   17 |   B.resize(Q); rep(i,Q) scanf("%d",&B[i]);
      |                         ~~~~~^~~~~~~~~~~~

ソースコード

diff #

#include <atcoder/modint>
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
using ull=unsigned long long;
#define rep(i,n) for(int i=0; i<(n); i++)

using mll = atcoder::static_modint<1000000007>;


int Q;
vector<int> A,B;

int main(){
  scanf("%d",&Q);
  A.resize(Q); rep(i,Q) scanf("%d",&A[i]);
  B.resize(Q); rep(i,Q) scanf("%d",&B[i]);
  rep(i,Q) cout<<15<<endl;
  return 0;
}
0