Pagini recente » Borderou de evaluare (job #911122) | Borderou de evaluare (job #1708322) | Borderou de evaluare (job #1797586) | Borderou de evaluare (job #2352152) | Borderou de evaluare (job #1979130)
Borderou de evaluare (job #1979130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[s[i]].push_back(i);
^
user.cpp:20:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[c].empty())
^
user.cpp:31:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(seen[c]) continue;
^
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(L[c].empty()) continue;
^
user.cpp:33:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=L[c].front();
^
user.cpp:38:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].size()==1 && L[cr].front()>last && L[cr].front()<p)
^
user.cpp:38:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].size()==1 && L[cr].front()>last && L[cr].front()<p)
^
user.cpp:38:61: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].size()==1 && L[cr].front()>last && L[cr].front()<p)
^
user.cpp:38:83: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].size()==1 && L[cr].front()>last && L[cr].front()<p)
^
user.cpp:47:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[c]=1;
^
user.cpp:49:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[c].clear();
^
user.cpp:52:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:52:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:52:70: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.in","r",stdin);
^
user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calandrinon.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 508kb | OK | 5 |
2 | 0ms | 512kb | OK | 5 |
3 | 0ms | 520kb | Incorect | 0 |
4 | 0ms | 516kb | Incorect | 0 |
5 | 0ms | 520kb | OK | 5 |
6 | 0ms | 520kb | Incorect | 0 |
7 | 0ms | 520kb | Incorect | 0 |
8 | 0ms | 524kb | OK | 5 |
9 | 0ms | 516kb | OK | 5 |
10 | 0ms | 516kb | OK | 5 |
11 | 0ms | 1004kb | Incorect | 0 |
12 | 0ms | 784kb | Incorect | 0 |
13 | 0ms | 956kb | Incorect | 0 |
14 | 0ms | 952kb | Incorect | 0 |
15 | 24ms | 5336kb | Incorect | 0 |
16 | 24ms | 5516kb | Incorect | 0 |
17 | 24ms | 5524kb | Incorect | 0 |
18 | 24ms | 5520kb | Incorect | 0 |
19 | 24ms | 5452kb | Incorect | 0 |
20 | 24ms | 5520kb | Incorect | 0 |
Punctaj total | 30 |