제출 #887501

#제출 시각아이디문제언어결과실행 시간메모리
887501islam998Table Tennis (info1cup20_tabletennis)C++17
9 / 100
21 ms5756 KiB
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #define ll long long #define endl "\n" #define nots0fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define vl vector<ll> #define vi vector<int> #define pll pair<ll,ll> #define fi first #define se second #define pb push_back #define in insert #define size(y) (int)y.size() #define all(v) v.begin(), v.end() #define allr(v) v.rbegin(),v.rend() #define INF 1e9+31 #define MAX 151000 #define MOD 1000000007 using namespace std; using namespace __gnu_pbds; typedef tree<int,null_type,less<int>,rb_tree_tag, tree_order_statistics_node_update> indexed_set; vl v(MAX),pre(MAX); void solve(){ ll n, k, l, r, sum = 0, dnt = 0; cin >> n >> k; multiset<ll>ms; for(int i = 1; i <= n + k; i++){ cin >> v[i]; sum += v[i]; } for(int i = 1; i <= n; i++){ cout << v[i] << " "; } } int main(){ nots0fast ll test = 1; ///cin >> test; for(int tst = 0; tst < test; tst++){ solve(); cout << "\n"; } return 0; } /** **/

컴파일 시 표준 에러 (stderr) 메시지

tabletennis.cpp: In function 'void solve()':
tabletennis.cpp:27:14: warning: unused variable 'l' [-Wunused-variable]
   27 |     ll n, k, l, r, sum = 0, dnt = 0;
      |              ^
tabletennis.cpp:27:17: warning: unused variable 'r' [-Wunused-variable]
   27 |     ll n, k, l, r, sum = 0, dnt = 0;
      |                 ^
tabletennis.cpp:27:29: warning: unused variable 'dnt' [-Wunused-variable]
   27 |     ll n, k, l, r, sum = 0, dnt = 0;
      |                             ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...