Pagini recente » Borderou de evaluare (job #1512667) | Borderou de evaluare (job #2844037) | Borderou de evaluare (job #1161230) | Borderou de evaluare (job #3213334) | Borderou de evaluare (job #1979311)
Borderou de evaluare (job #1979311)
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].back()>last && L[cr].back()<p)
^
user.cpp:38:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].back()>last && L[cr].back()<p)
^
user.cpp:38:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!L[cr].empty() && L[cr].back()>last && L[cr].back()<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]
scanf("%d",&n);
^
user.cpp:14:20: 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 | OK | 5 |
4 | 0ms | 524kb | OK | 5 |
5 | 0ms | 524kb | OK | 5 |
6 | 0ms | 520kb | OK | 5 |
7 | 0ms | 516kb | OK | 5 |
8 | 0ms | 524kb | OK | 5 |
9 | 0ms | 516kb | OK | 5 |
10 | 0ms | 520kb | OK | 5 |
11 | 0ms | 1000kb | OK | 5 |
12 | 0ms | 784kb | OK | 5 |
13 | 0ms | 948kb | OK | 5 |
14 | 0ms | 956kb | OK | 5 |
15 | 24ms | 5340kb | OK | 5 |
16 | 24ms | 5512kb | OK | 5 |
17 | 24ms | 5524kb | OK | 5 |
18 | 24ms | 5512kb | OK | 5 |
19 | 24ms | 5448kb | OK | 5 |
20 | 24ms | 5488kb | OK | 5 |
Punctaj total | 100 |