Borderou de evaluare (job #1234554)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 27 septembrie 2014 15:42:14
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:148: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:149: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:152:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ /tmp/ccRQAlTE.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
10ms1524kbIncorect0
20ms1520kbIncorect0
3Depăşit1496kbTime limit exceeded.0
4Depăşit1492kbTime limit exceeded.0
50ms1500kbKilled by signal 11(SIGSEGV).0
60ms1492kbKilled by signal 11(SIGSEGV).0
7Depăşit1512kbTime limit exceeded.0
80ms1548kbIncorect0
916ms3028kbKilled by signal 11(SIGSEGV).0
100ms1548kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?