Borderou de evaluare (job #1261311)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(char*)’:
user.cpp:61:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!Q->f[c])
^
user.cpp:62:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q->f[c] = new node;
^
user.cpp:63:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q = Q->f[c];
^
user.cpp: In function ‘int main()’:
user.cpp:95:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!Q->f[c])
^
user.cpp:97:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Q = Q->f[c];
^
user.cpp:74:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:75:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:78:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:79:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", W + 1);
^
user.cpp:84:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", word + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 672kb | Incorect | 0 |
2 | 0ms | 1116kb | Incorect | 0 |
3 | 28ms | 11480kb | Incorect | 0 |
4 | 60ms | 19616kb | Incorect | 0 |
5 | 16ms | 2972kb | Incorect | 0 |
6 | 32ms | 6304kb | Incorect | 0 |
7 | 88ms | 16120kb | Incorect | 0 |
8 | 100ms | 20920kb | Incorect | 0 |
9 | Depăşit | 1848kb | Time limit exceeded. | 0 |
10 | 116ms | 33464kb | Incorect | 0 |
Punctaj total | 0 |