Pagini recente » Borderou de evaluare (job #1899634) | Borderou de evaluare (job #1920819) | Borderou de evaluare (job #2267624) | Borderou de evaluare (job #1376020) | Borderou de evaluare (job #1979097)
Borderou de evaluare (job #1979097)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[s[i]].push_back(i);
^
user.cpp:21: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:47:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[c]=1;
^
user.cpp:48:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[c].clear();
^
user.cpp:51:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:51:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:51:70: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:12: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:13: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:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 5 |
2 | 0ms | 512kb | OK | 5 |
3 | 0ms | 508kb | Incorect | 0 |
4 | 0ms | 512kb | Incorect | 0 |
5 | 0ms | 520kb | OK | 5 |
6 | 0ms | 520kb | Incorect | 0 |
7 | 0ms | 512kb | Incorect | 0 |
8 | 0ms | 520kb | OK | 5 |
9 | 0ms | 516kb | OK | 5 |
10 | 0ms | 516kb | OK | 5 |
11 | 0ms | 996kb | Incorect | 0 |
12 | 0ms | 788kb | Incorect | 0 |
13 | 0ms | 940kb | Incorect | 0 |
14 | 0ms | 976kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 596kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 596kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |