Pagini recente » Borderou de evaluare (job #1508144) | Borderou de evaluare (job #1294845) | Borderou de evaluare (job #1344688) | Borderou de evaluare (job #409235) | Borderou de evaluare (job #1234626)
Borderou de evaluare (job #1234626)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<final.size();++i)
^
user.cpp:41:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i!=final.size()-1) printf(",");
^
user.cpp: In function ‘std::vector<int> intersectie(std::vector<int>, std::vector<int>)’:
user.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<B.size();++i)
^
user.cpp: In function ‘std::vector<int> reuniune(std::vector<int>, std::vector<int>)’:
user.cpp:85:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<A.size();++i)
^
user.cpp:88:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<B.size();++i)
^
user.cpp: In function ‘std::vector<int> diferenta(std::vector<int>, std::vector<int>)’:
user.cpp:102:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<A.size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:26:29: 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:27:31: 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:29:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S+1);
^
/tmp/ccpq59lt.o: In function `main':
user.cpp:(.text.startup+0x5c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 852kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 240kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 0ms | 344kb | Incorect | 0 |
10 | 0ms | 336kb | Incorect | 0 |
Punctaj total | 10 |