Pagini recente » Borderou de evaluare (job #2426486) | Borderou de evaluare (job #598488) | Borderou de evaluare (job #268202) | Borderou de evaluare (job #1151481) | Borderou de evaluare (job #1831985)
Borderou de evaluare (job #1831985)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[s[i]] ++;
^
user.cpp:19:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[s[i]] == 1) nrd ++;
^
user.cpp:22:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[s[j]] --;
^
user.cpp:23:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[s[j]] == 0)
^
user.cpp:14:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d\n",&z,&c);
^
user.cpp:15:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,NR,in);
^
user.cpp:34:14: warning: ‘sfarsit’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s[sfarsit+1] =0;
^
user.cpp:35:31: warning: ‘initial’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%s",s+initial);
^
user.cpp:27:9: warning: ‘maxim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i - j + 1 > maxim)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 320kb | OK | 10 |
5 | 0ms | 320kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 316kb | OK | 10 |
Punctaj total | 100 |