Pagini recente » Borderou de evaluare (job #1724793) | Borderou de evaluare (job #2747059) | Borderou de evaluare (job #810233) | Borderou de evaluare (job #1461860) | Borderou de evaluare (job #1234562)
Borderou de evaluare (job #1234562)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> intersectie(std::vector<int>&, std::vector<int>&)’:
user.cpp:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp:21:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp: In function ‘std::vector<int> reuniune(std::vector<int>, std::vector<int>)’:
user.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp:45:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp:46:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(a[i] > b[j] && j < b.size()){
^
user.cpp:56:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(a[i] < b[j] && i < a.size()){
^
user.cpp: In function ‘std::vector<int> diferenta(std::vector<int>, std::vector<int>)’:
user.cpp:83:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp:83:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size()){
^
user.cpp:84:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(a[i] > b[j] && j < b.size()){
^
user.cpp:93:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(a[i] < b[j] && i < a.size()){
^
user.cpp: In function ‘int main()’:
user.cpp:150:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.in", "r", stdin);
^
user.cpp:151:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.out", "w", stdout);
^
user.cpp:154:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/ccqpBKqJ.o: In function `main':
user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1528kb | Incorect | 0 |
2 | 0ms | 1532kb | Incorect | 0 |
3 | 4ms | 1488kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 1492kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 1544kb | Incorect | 0 |
6 | 0ms | 1520kb | Incorect | 0 |
7 | 4ms | 1520kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 1556kb | Incorect | 0 |
9 | 4ms | 1656kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1560kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |