Pagini recente » Borderou de evaluare (job #936226) | Borderou de evaluare (job #1858909) | Borderou de evaluare (job #225485) | Borderou de evaluare (job #1753548) | Borderou de evaluare (job #1251516)
Borderou de evaluare (job #1251516)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(Node*, char*)’:
user.cpp:25:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->v[c]==0){
^
user.cpp:26:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node->v[c]=new Node;
^
user.cpp:29:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
add(node->v[c],s+1);
^
user.cpp: In function ‘int main()’:
user.cpp:34: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:35: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);
^
user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:38:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccR7CzNm.o: In function `main':
user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 36ms | 5952kb | OK | 10 | 0 |
2 | 8ms | 2044kb | OK | 10 |
3 | 4ms | 3124kb | OK | 10 |
4 | 16ms | Depăşit | Memory limit exceeded. | 0 |
5 | 16ms | Depăşit | Memory limit exceeded. | 0 |
6 | 16ms | Depăşit | Memory limit exceeded. | 0 |
7 | 16ms | Depăşit | Memory limit exceeded. | 0 |
8 | 20ms | Depăşit | Memory limit exceeded. | 0 |
9 | 16ms | Depăşit | Memory limit exceeded. | 0 |
10 | 16ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |