Pagini recente » Borderou de evaluare (job #1967186) | Borderou de evaluare (job #1729538) | Borderou de evaluare (job #2117371) | Borderou de evaluare (job #2830830) | Borderou de evaluare (job #1797369)
Borderou de evaluare (job #1797369)
Raport evaluator
Compilare:
user.cpp: In function ‘Node* newEmptyNode()’:
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘Node* Delete(Node*)’:
user.cpp:204:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:210:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:213:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:216:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i]);
^
user.cpp:226:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:216:27:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccBYRLPh.o: In function `main':
user.cpp:(.text.startup+0x74): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x16a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 524ms | 106808kb | Incorect | 0 |
Punctaj total | 0 |