Pagini recente » Borderou de evaluare (job #1364118) | Borderou de evaluare (job #856327) | Borderou de evaluare (job #2380790) | Borderou de evaluare (job #1709453) | Borderou de evaluare (job #2160427)
Borderou de evaluare (job #2160427)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Corect(char*)’:
user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++ap[s[i]];
^
user.cpp:17:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[i]>0) v[++k]=i;
^
user.cpp:18:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[i]=0;
^
user.cpp:22:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++ap[s[j]];
^
user.cpp:25:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[v[i]]<Min) Min=ap[v[i]];
^
user.cpp:25:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[v[i]]<Min) Min=ap[v[i]];
^
user.cpp:26:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[v[i]]>Max) Max=ap[v[i]];
^
user.cpp:26:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[v[i]]>Max) Max=ap[v[i]];
^
user.cpp:30:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[s[j]]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:57:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ap[s[i]]=1;
^
user.cpp:59:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(ap[i]) v[++k]=i;
^
user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.in","r",stdin);
^
user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("smooth2.out","w",stdout);
^
user.cpp:54:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 3012kb | OK! | 0 | 0 |
✓ | 2 | 4ms | 2740kb | OK! | 0 | 0 |
✓ | 3 | 8ms | 2900kb | OK! | 0 | 0 |
✓ | 4 | 4ms | 2724kb | Raspuns gresit! | 0 | 0 |
✗ | 5 | 4ms | 2728kb | OK! | 3 | 3 |
✗ | 6 | 8ms | 2712kb | Raspuns gresit! | 0 | 0 |
✗ | 7 | 300ms | 3072kb | OK! | 2 | 2 |
✗ | 8 | 4ms | 3052kb | Raspuns gresit! | 0 | 0 |
✗ | 9 | 4ms | 3064kb | OK! | 3 | 3 |
✗ | 10 | 4ms | 2744kb | OK! | 3 | 3 |
✗ | 11 | Depăşit | 2596kb | Time limit exceeded. | 0 | 0 |
✗ | 12 | Depăşit | 2376kb | Time limit exceeded. | 0 | 0 |
✗ | 13 | 4ms | 3152kb | Raspuns gresit! | 0 |
✗ | 14 | Depăşit | 2752kb | Time limit exceeded. | 0 |
✗ | 15 | 4ms | 3068kb | Raspuns gresit! | 0 |
✗ | 16 | 4ms | 2784kb | Raspuns gresit! | 0 |
✗ | 17 | 4ms | 2928kb | Raspuns gresit! | 0 |
✗ | 18 | 4ms | 2992kb | Raspuns gresit! | 0 | 0 |
✗ | 19 | 4ms | 2824kb | Raspuns gresit! | 0 |
✗ | 20 | 4ms | 3132kb | Raspuns gresit! | 0 |
Punctaj total | 11 |