제출 #717738

#제출 시각아이디문제언어결과실행 시간메모리
717738nihaddhuseynliPaint By Numbers (IOI16_paint)C++14
0 / 100
1 ms212 KiB
#include "paint.h"
#include <bits/stdc++.h>
#include <cstdlib>
typedef long long int ll;
using namespace std;

string solve_puzzle(std::string s, std::vector<int> c) {
    string str="";
    ll n=s.length();
    string a[n+1];
    ll cnt=0;
    str=s;
    for(int i =0;i<n;i++)
    {
        str[i]='?';
    }
    return str;
}

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

paint.cpp: In function 'std::string solve_puzzle(std::string, std::vector<int>)':
paint.cpp:11:8: warning: unused variable 'cnt' [-Wunused-variable]
   11 |     ll cnt=0;
      |        ^~~
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…