Pagini recente » Borderou de evaluare (job #1767510) | Borderou de evaluare (job #1620085) | Borderou de evaluare (job #1591325) | Borderou de evaluare (job #1456870) | Borderou de evaluare (job #2044492)
Borderou de evaluare (job #2044492)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_next(std::vector<int>, char, int)’:
user.cpp:17:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(rez + pas < ind.size() && ind[rez + pas] <= pos)
^
user.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(rez == ind.size())
^
user.cpp: In function ‘int main()’:
user.cpp:59:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int pa = get_next(inda[ch], ch, posa), pb = get_next(indb[ch], ch, posb);
^
user.cpp:59:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int pa = get_next(inda[ch], ch, posa), pb = get_next(indb[ch], ch, posb);
^
user.cpp:31:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&t);
^
user.cpp:34:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&k);
^
user.cpp:35:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s %s " , A + 1, B + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4348kb | OK | 10 |
2 | 16ms | 4348kb | OK | 10 |
3 | 20ms | 4352kb | OK | 10 |
4 | 40ms | 4360kb | OK | 10 |
5 | 68ms | 4372kb | OK | 10 |
6 | 72ms | 4376kb | OK | 10 |
7 | 80ms | 4372kb | OK | 10 |
8 | 100ms | 4380kb | OK | 10 |
9 | 96ms | 4380kb | OK | 10 |
10 | 96ms | 4384kb | OK | 10 |
Punctaj total | 100 |