Pagini recente » Borderou de evaluare (job #971441) | Borderou de evaluare (job #53085) | Borderou de evaluare (job #415842) | Borderou de evaluare (job #2849754) | Borderou de evaluare (job #2449926)
Borderou de evaluare (job #2449926)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:11: warning: array subscript has type 'char' [-Wchar-subscripts]
type[c] = LETTER;
^
main.cpp:29:11: warning: array subscript has type 'char' [-Wchar-subscripts]
type[c] = LETTER;
^
main.cpp:37:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++i)
~~^~~~~~~~~~
main.cpp:39:31: warning: array subscript has type 'char' [-Wchar-subscripts]
if (word == 0 && type[s[i]] == LETTER)
^
main.cpp:44:31: warning: array subscript has type 'char' [-Wchar-subscripts]
if (word == 1 && type[s[i]] != LETTER)
^
main.cpp:50:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (type[s[i]] == END)
^
main.cpp:62:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", sol.size());
^
main.cpp:64:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sol.size(); ++i)
~~^~~~~~~~~~~~
main.cpp:15:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nc.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 6ms | 393kb | OK | 10 |
7 | 11ms | 778kb | OK | 10 |
8 | 15ms | 978kb | OK | 10 |
9 | 18ms | 995kb | OK | 10 |
10 | 20ms | 1200kb | OK | 10 |
Punctaj total | 100 |