Pagini recente » Borderou de evaluare (job #1881168) | Borderou de evaluare (job #1295031) | Borderou de evaluare (job #1894422) | Borderou de evaluare (job #1866009) | Borderou de evaluare (job #1696015)
Borderou de evaluare (job #1696015)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][0]++;
^
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:37:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat1[c][i]=cat1[c][0];
^
user.cpp:42:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat2[c][0]++;
^
user.cpp:43:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat2[c][i]=cat2[c][0];
^
user.cpp:43:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cat2[c][i]=cat2[c][0];
^
user.cpp:48:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
aux=cat1[c][i];
^
user.cpp:51:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cat2[c][j]==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:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s",a+1,b+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 840kb | OK | 10 |
2 | 0ms | 832kb | OK | 10 |
3 | 4ms | 912kb | OK | 10 |
4 | 4ms | 1464kb | OK | 10 |
5 | Depăşit | 1836kb | Time limit exceeded. | 0 |
6 | Depăşit | 1632kb | Time limit exceeded. | 0 |
7 | Depăşit | 2352kb | Time limit exceeded. | 0 |
8 | Depăşit | 1664kb | Time limit exceeded. | 0 |
9 | Depăşit | 2252kb | Time limit exceeded. | 0 |
10 | Depăşit | 3008kb | Time limit exceeded. | 0 |
Punctaj total | 40 |