Pagini recente » Borderou de evaluare (job #1380815) | Borderou de evaluare (job #2256466) | Borderou de evaluare (job #1272783) | Borderou de evaluare (job #395302) | Borderou de evaluare (job #1722737)
Borderou de evaluare (job #1722737)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s1[ls1++] = s[p];
^
user.cpp:53:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s2[ls2++] = s[p]; /// 0 in s2
^
user.cpp:60:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s1[ls1++] = s[j];
^
user.cpp:63:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s1[ls2] == s[j])
^
user.cpp:64:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s2[ls2++] = s[j];
^
user.cpp:66:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s1[ls1++] = s[j];
^
user.cpp:70:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s2[ls1] == s[j])
^
user.cpp:71:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s1[ls1++] = s[j];
^
user.cpp:73:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s2[ls2++] = s[j];
^
user.cpp:33:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.in", "r", stdin);
^
user.cpp:34:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.out", "w", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:37:19: 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 |
| 1 | 8ms | 428kb | Incorect | 0 |
| 2 | 0ms | 428kb | Incorect | 0 |
| 3 | 0ms | 428kb | Incorect | 0 |
| 4 | 0ms | 428kb | Incorect | 0 |
| 5 | 8ms | 432kb | Incorect | 0 |
| 6 | 20ms | 424kb | Incorect | 0 |
| 7 | 36ms | 424kb | Incorect | 0 |
| 8 | 192ms | 428kb | Incorect | 0 |
| 9 | 164ms | 424kb | Incorect | 0 |
| 10 | 168ms | 432kb | Incorect | 0 |
| Punctaj total | 0 |