Pagini recente » Borderou de evaluare (job #1674268) | Borderou de evaluare (job #1548764) | Borderou de evaluare (job #1119703) | Borderou de evaluare (job #1028372) | Borderou de evaluare (job #1921346)
Borderou de evaluare (job #1921346)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluare(char*)’:
user.cpp:73:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int nr = cod[s[i]];
^
user.cpp:63:8: warning: variable ‘top’ set but not used [-Wunused-but-set-variable]
char top;
^
user.cpp:64:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x;
^
user.cpp: In function ‘int main()’:
user.cpp:117:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[s1[j]] = true;
^
user.cpp:123:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f2[s2[j]] = true;
^
user.cpp:130:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:130:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f1[ch] != f2[ch]) {
^
user.cpp:138:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:138:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:138:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:150:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (isalpha (s1[j]) && !cod[s1[j]])
^
user.cpp:151:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[s1[j]] = v[++k];
^
user.cpp:166:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:166:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:166:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[ch] = f1[ch] = f2[ch] = false;
^
user.cpp:101:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("logic.in", "r", stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 272kb | Time limit exceeded. | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | Depăşit | 264kb | Time limit exceeded. | 0 |
4 | 4ms | 272kb | Incorect | 0 |
5 | 16ms | 280kb | OK | 10 |
6 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
7 | Depăşit | 276kb | Time limit exceeded. | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | Depăşit | 276kb | Time limit exceeded. | 0 |
Punctaj total | 20 |