Submission #717738

#TimeUsernameProblemLanguageResultExecution timeMemory
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; }

Compilation message (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;
      |        ^~~
#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...