Pagini recente » Borderou de evaluare (job #2437914) | Borderou de evaluare (job #2424324) | Borderou de evaluare (job #918348) | Borderou de evaluare (job #394713) | Borderou de evaluare (job #1042079)
Borderou de evaluare (job #1042079)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(first && first<S.size() && last && last<S.size()&& S[first]==S[last] && S[first]==-sum)sol+=(last-first+1);
^
user.cpp:59:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(first && first<S.size() && last && last<S.size()&& S[first]==S[last] && S[first]==-sum)sol+=(last-first+1);
^
user.cpp:60:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if((first && first<S.size() && S[first] == -sum)
^
user.cpp:61:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|| (last && last<S.size() && S[last] == -sum))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 80ms | 496kb | OK | 10 |
2 | 116ms | 496kb | OK | 10 |
3 | 108ms | 500kb | OK | 10 |
4 | 256ms | 496kb | OK | 10 |
5 | 260ms | 492kb | Incorect | 0 |
6 | 256ms | 496kb | OK | 10 |
7 | 248ms | 496kb | OK | 10 |
8 | 232ms | 496kb | OK | 10 |
9 | 228ms | 492kb | Incorect | 0 |
10 | 264ms | 496kb | OK | 10 |
Punctaj total | 80 |