Pagini recente » Borderou de evaluare (job #3036041) | Borderou de evaluare (job #852855) | Borderou de evaluare (job #973237) | Borderou de evaluare (job #3036065) | Borderou de evaluare (job #2014950)
Borderou de evaluare (job #2014950)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Trie*, char*, int)’:
user.cpp:25:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod -> son[*str] == NULL)
^
user.cpp:26:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod -> son[*str] = new Trie;
^
user.cpp:27:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add(nod -> son[*str], str + 1, pos);
^
user.cpp: In function ‘void check(Trie*, char*)’:
user.cpp:34:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod -> son[*str] != NULL)
^
user.cpp:35:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
check(nod -> son[*str], str + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:54:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:56:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,str);
^
user.cpp:64:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&m);
^
user.cpp:66:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,str);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 488kb | OK | 10 |
| 2 | 0ms | 888kb | OK | 10 |
| 3 | 4ms | 2572kb | OK | 10 |
| 4 | 40ms | 14028kb | OK | 10 |
| 5 | 188ms | 66476kb | OK | 10 |
| 6 | Depăşit | 82980kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 109428kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 111940kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 106784kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 109824kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |