Pagini recente » Borderou de evaluare (job #145573) | Borderou de evaluare (job #719294) | Borderou de evaluare (job #758873) | Borderou de evaluare (job #2586582) | Borderou de evaluare (job #1979099)
Borderou de evaluare (job #1979099)
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:32:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(seen[c]) continue;
^
user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(L[c].empty()) continue;
^
user.cpp:34:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=L[c].front();
^
user.cpp:48:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
seen[c]=1;
^
user.cpp:50:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[c].clear();
^
user.cpp:53:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:53:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!L[cr].empty() && L[cr].front()<=last) L[cr].pop_front();
^
user.cpp:53: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 | 516kb | OK | 5 |
| 2 | 0ms | 508kb | OK | 5 |
| 3 | 0ms | 516kb | Incorect | 0 |
| 4 | 0ms | 512kb | Incorect | 0 |
| 5 | 0ms | 512kb | OK | 5 |
| 6 | 0ms | 516kb | Incorect | 0 |
| 7 | 0ms | 512kb | Incorect | 0 |
| 8 | 0ms | 524kb | OK | 5 |
| 9 | 0ms | 520kb | OK | 5 |
| 10 | 0ms | 516kb | OK | 5 |
| 11 | 0ms | 992kb | Incorect | 0 |
| 12 | 0ms | 788kb | Incorect | 0 |
| 13 | 0ms | 944kb | Incorect | 0 |
| 14 | 0ms | 976kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 596kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 592kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |