제출 #1080437

#제출 시각아이디문제언어결과실행 시간메모리
1080437batsukh2006Sum Zero (RMI20_sumzero)C++17
0 / 100
1 ms348 KiB
#include<iostream> #include<map> #include<set> #include<cmath> #include<queue> #include<deque> #include<stack> #include<string> #include<math.h> #include<vector> #include<stdio.h> #include<utility> #include<iomanip> #include<string.h> #include<limits.h> #include<algorithm> #include<functional> #include<unordered_map> using namespace std; #pragma GCC target("popcnt") #define MOD 1000000007 // #define int long long #define ss second #define ff first #define endl '\n' void solve(){ int n; cin>>n; int a[n+1]; for(int i=1; i<=n; i++) cin>>a[i]; int p[n+3][10]; int q; cin>>q; while(q--){ int l,r; cin>>l>>r; } } signed main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int T=1; // cin>>T; while(T--){ solve(); cout<<endl; } return 0; }

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

sumzero.cpp: In function 'void solve()':
sumzero.cpp:30:9: warning: unused variable 'p' [-Wunused-variable]
   30 |     int p[n+3][10];
      |         ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...