Pagini recente » Borderou de evaluare (job #959595) | Borderou de evaluare (job #6139) | Borderou de evaluare (job #730213) | Borderou de evaluare (job #171699) | Borderou de evaluare (job #1234909)
Borderou de evaluare (job #1234909)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<final.size();++i)
^
user.cpp:39: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:67: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:83:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<A.size();++i)
^
user.cpp:86: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:100:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<A.size();++i)
^
user.cpp: In function ‘std::vector<int> go()’:
user.cpp:232:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<current.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/cc9b6eHr.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 | 260kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 4ms | 284kb | Incorect | 0 |
8 | 0ms | 292kb | Incorect | 0 |
9 | 16ms | 388kb | Incorect | 0 |
10 | 8ms | 364kb | Incorect | 0 |
Punctaj total | 0 |