Pagini recente » Borderou de evaluare (job #2321963) | Borderou de evaluare (job #1686260) | Borderou de evaluare (job #2001490) | Borderou de evaluare (job #2780861) | Borderou de evaluare (job #2431470)
Borderou de evaluare (job #2431470)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
fin>>n>>k>>s+1;
~^~
main.cpp:17:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(f[s[dr]]==0)
^
main.cpp:19:22: warning: array subscript has type 'char' [-Wchar-subscripts]
f[s[dr++]]++;
^
main.cpp:27:24: warning: array subscript has type 'char' [-Wchar-subscripts]
f[s[st]]--;
^
main.cpp:28:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(f[s[st]]==0)
^
main.cpp:9:29: warning: 'Dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,k,st,dr,max=-1,St,Dr,i,cate;
^~
main.cpp:9:26: warning: 'St' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,k,st,dr,max=-1,St,Dr,i,cate;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 4ms | 131kb | OK | 10 |
7 | 5ms | 131kb | OK | 10 |
8 | 4ms | 131kb | OK | 10 |
9 | 6ms | 262kb | OK | 10 |
10 | 6ms | 262kb | OK | 10 |
Punctaj total | 100 |