Pagini recente » Borderou de evaluare (job #1146603) | Borderou de evaluare (job #2379042) | Borderou de evaluare (job #197334) | Borderou de evaluare (job #832346) | Borderou de evaluare (job #1251510)
Borderou de evaluare (job #1251510)
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/ccLepAy2.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 | 5948kb | OK | 10 | 0 |
2 | 8ms | 2040kb | OK | 10 |
3 | 4ms | 3132kb | 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 | 16ms | 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 |