답안 #789344

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
789344 2023-07-21T09:28:44 Z Joibangla 사이버랜드 (APIO23_cyberland) C++17
컴파일 오류
0 ms 0 KB
#include<bits/stdc++.h>
using namespace std; 

int main(){ 
int n,m,k,h,x[m],y[m],c[m],arr[n]; 

cin>>n>>m>>k>>h;

cout<<"std::min(c[i])"<<"/n";

cout<<endl;

Compilation message

cyberland.cpp: In function 'int main()':
cyberland.cpp:5:13: warning: unused variable 'x' [-Wunused-variable]
    5 | int n,m,k,h,x[m],y[m],c[m],arr[n];
      |             ^
cyberland.cpp:5:18: warning: unused variable 'y' [-Wunused-variable]
    5 | int n,m,k,h,x[m],y[m],c[m],arr[n];
      |                  ^
cyberland.cpp:5:23: warning: unused variable 'c' [-Wunused-variable]
    5 | int n,m,k,h,x[m],y[m],c[m],arr[n];
      |                       ^
cyberland.cpp:5:28: warning: unused variable 'arr' [-Wunused-variable]
    5 | int n,m,k,h,x[m],y[m],c[m],arr[n];
      |                            ^~~
cyberland.cpp:11:11: error: expected '}' at end of input
   11 | cout<<endl;
      |           ^
cyberland.cpp:4:11: note: to match this '{'
    4 | int main(){
      |           ^