Job 17094

Owner
Nechita Sebastian
Problem
Calloc
Contest
MindCoding 2016 Final 2
Source
1.18KB
Result
Time Limit Exceeded

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(ptr[i] < c[i].size())
                       ^
prog.cpp:48:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(ptr[i] < c[i].size())
                       ^
prog.cpp:52:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if(ptr[i] == c[i].size())
                               ^
prog.cpp:11:15: warning: unused variable 'j' [-Wunused-variable]
     int n, i, j, ok;
               ^

ver.cpp: In function 'int main(int, char**)':
ver.cpp:55:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int j=0; j<s[i].size(); ++j) {
                   ^
ver.cpp: At global scope:
ver.cpp:41:14: warning: unused parameter 'argc' [-Wunused-parameter]
 int main(int argc, char *argv[]) {
              ^

Results

Test numberResultTime
150.3025s
2Time Limit Exceeded3.2571s
Questions?

Sponsors Gold