Pagini recente » Borderou de evaluare (job #2031966) | Borderou de evaluare (job #3160756) | Borderou de evaluare (job #2215624) | Borderou de evaluare (job #2343387) | Borderou de evaluare (job #1301512)
Borderou de evaluare (job #1301512)
Raport evaluator
Compilare:
user.cpp: In function ‘void pune(tri, int)’:
user.cpp:19:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f->t[c] == NULL) f->t[c] = new trie;
^
user.cpp:19:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f->t[c] == NULL) f->t[c] = new trie;
^
user.cpp:20:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pune(f->t[c],i+1);
^
user.cpp: In function ‘int main()’:
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.in","r",stdin);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int t;scanf("%d\n",&t);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 48ms | 6128kb | OK | 10 | 0 |
| 2 | 12ms | 2220kb | OK | 10 |
| 3 | 4ms | 3308kb | OK | 10 |
| 4 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |