Submission #132849

#TimeUsernameProblemLanguageResultExecution timeMemory
132849redaPaint By Numbers (IOI16_paint)C++14
0 / 100
3 ms504 KiB
#include<bits/stdc++.h> using namespace std ; void solve_puzzle( string s, vector<int> c) { for(int i=0;i<c[0];i++) { s[i]='X'; } for(int i=c[0];i<s.size();i++) s[i]='_'; }

Compilation message (stderr)

paint.cpp: In function 'void solve_puzzle(std::__cxx11::string, std::vector<int>)':
paint.cpp:10:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=c[0];i<s.size();i++)
                    ~^~~~~~~~~
#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...