Pagini recente » Borderou de evaluare (job #707227) | Borderou de evaluare (job #1782824) | Borderou de evaluare (job #2374774) | Borderou de evaluare (job #1120852) | Borderou de evaluare (job #2643598)
Borderou de evaluare (job #2643598)
Raport evaluator
Compilare:
main.cpp: In function 'bool _is(std::__cxx11::string)':
main.cpp:43:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + word.size() - 1 >= lg) return false;
~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<word.size();j++){
~^~~~~~~~~~~~
main.cpp: In function 'bool solve()':
main.cpp:91:31: warning: array subscript has type 'char' [-Wchar-subscripts]
bool crt = val[expr[i]];
^
main.cpp: In function 'int main()':
main.cpp:110:14: warning: array subscript has type 'char' [-Wchar-subscripts]
val[c] ^= 1;
^
main.cpp:102:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
main.cpp:103:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 4ms | 131kb | OK | 10 |
| 5 | 7ms | 131kb | OK | 10 |
| 6 | 6ms | 131kb | OK | 10 |
| 7 | 6ms | 131kb | Incorect | 0 |
| 8 | 6ms | 131kb | OK | 10 |
| 9 | 6ms | 131kb | OK | 10 |
| 10 | 6ms | 131kb | OK | 10 |
| Punctaj total | 70 |