Pagini recente » Borderou de evaluare (job #618489) | Borderou de evaluare (job #694942) | Borderou de evaluare (job #2118644) | Borderou de evaluare (job #1342805) | Borderou de evaluare (job #2248747)
Borderou de evaluare (job #2248747)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[c]++;
^
user.cpp:32:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++)
~~^~~~~~~~~~
user.cpp:64:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[c]++;
^
user.cpp:69:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++)
~~^~~~~~~~~~
user.cpp:73:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s.size() - i - nrb[i] == nr[bad] && s[i] != bad)
^
user.cpp:73:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.size() - i - nrb[i] == nr[bad] && s[i] != bad)
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
user.cpp:76:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr[bad]--;
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.in", "r", stdin);
^
user.cpp:16:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 5248kb | Time limit exceeded. | 0 |
Punctaj total | 0 |