結果
| 問題 |
No.8085 Math...?
|
| コンテスト | |
| ユーザー |
Nachia
|
| 提出日時 | 2021-04-01 20:47:44 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 397 bytes |
| コンパイル時間 | 1,929 ms |
| コンパイル使用メモリ | 195,400 KB |
| 最終ジャッジ日時 | 2025-01-20 05:55:43 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 26 |
コンパイルメッセージ
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 | A.resize(Q); rep(i,Q) scanf("%d",&B[i]);
| ~~~~~^~~~~~~~~~~~
ソースコード
#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]);
A.resize(Q); rep(i,Q) scanf("%d",&B[i]);
rep(i,Q) cout<<15<<endl;
return 0;
}
Nachia