Borderou de evaluare (job #1234553)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 27 septembrie 2014 15:40:13
Problema Expr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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:147: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:148: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:151:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ /tmp/ccPiuvDc.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
10ms1520kbIncorect0
20ms1520kbIncorect0
30ms1492kbKilled by signal 11(SIGSEGV).0
4Depăşit1496kbTime limit exceeded.0
50ms1500kbKilled by signal 11(SIGSEGV).0
60ms1504kbKilled by signal 11(SIGSEGV).0
7Depăşit1508kbTime limit exceeded.0
80ms1548kbIncorect0
924ms3024kbKilled by signal 11(SIGSEGV).0
100ms1548kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?