Pagini recente » Borderou de evaluare (job #671031) | Borderou de evaluare (job #594979) | Borderou de evaluare (job #1579735) | Borderou de evaluare (job #2289950) | Borderou de evaluare (job #1696028)
Borderou de evaluare (job #1696028)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[a[i]][0]++;
^
user.cpp:37:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[a[i]][i]=cat1[a[i]][0];
^
user.cpp:37:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[a[i]][i]=cat1[a[i]][0];
^
user.cpp:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[a[i]][cat1[a[i]][0]]=i;
^
user.cpp:38:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[a[i]][cat1[a[i]][0]]=i;
^
user.cpp:42:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat2[b[i]][0]++;
^
user.cpp:43:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=cat2[b[i]][i]=cat2[b[i]][0];
^
user.cpp:43:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=cat2[b[i]][i]=cat2[b[i]][0];
^
user.cpp:44:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[i].first=A[b[i]][aux];
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in","r",stdin);
^
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out","w",stdout);
^
user.cpp:31:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
user.cpp:32:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/ccnbyt9M.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 840kb | OK | 10 |
2 | 0ms | 828kb | OK | 10 |
3 | 0ms | 912kb | OK | 10 |
4 | 0ms | 1556kb | OK | 10 |
5 | 8ms | 2112kb | OK | 10 |
6 | 12ms | 2060kb | OK | 10 |
7 | 12ms | 2816kb | OK | 10 |
8 | Depăşit | 2112kb | Time limit exceeded. | 0 |
9 | 12ms | 2692kb | OK | 10 |
10 | 32ms | 3516kb | OK | 10 |
Punctaj total | 90 |