Pagini recente » Borderou de evaluare (job #761082) | Borderou de evaluare (job #1015798) | Borderou de evaluare (job #2983104) | Borderou de evaluare (job #876874) | Borderou de evaluare (job #1707459)
Borderou de evaluare (job #1707459)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:18: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
a[0]=b[0]=NULL;
^
user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pointer[b[i]]>removed){
^
user.cpp:43:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
answer=answer+i-(pointer[b[i]]-out[b[i]]);
^
user.cpp:43:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
answer=answer+i-(pointer[b[i]]-out[b[i]]);
^
user.cpp:44:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[pointer[b[i]]]=3;
^
user.cpp:46:56: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(b[i]!=j&&pointer[j]>pointer[b[i]])
^
user.cpp:48:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pointer[b[i]]--;
^
user.cpp:49:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(pointer[b[i]]>removed&&a[pointer[b[i]]]!=b[i]){
^
user.cpp:49:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(pointer[b[i]]>removed&&a[pointer[b[i]]]!=b[i]){
^
user.cpp:50:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pointer[a[pointer[b[i]]]]<pointer[b[i]])
^
user.cpp:50:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pointer[a[pointer[b[i]]]]<pointer[b[i]])
^
user.cpp:50:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(pointer[a[pointer[b[i]]]]<pointer[b[i]])
^
user.cpp:51:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
out[b[i]]--;
^
user.cpp:52:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pointer[b[i]]--;
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lru.in","r",stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lru.out","w",stdout);
^
user.cpp:11:23: 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 | 288kb | OK | 10 |
2 | 8ms | 352kb | OK | 10 |
3 | 28ms | 492kb | OK | 10 |
4 | 40ms | 588kb | OK | 10 |
5 | 52ms | 636kb | OK | 10 |
6 | 56ms | 680kb | OK | 10 |
7 | 224ms | 1856kb | OK | 10 |
8 | 256ms | 2048kb | OK | 10 |
9 | 280ms | 2240kb | OK | 10 |
10 | 0ms | 288kb | OK | 10 |
Punctaj total | 100 |