Borderou de evaluare (job #1616540)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 27 februarie 2016 11:27:09
Problema Colaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void umplere()’: user.cpp:149:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i <= cordy.size() * 2 - 1; i++) ^ user.cpp:151:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j <= cordx.size() * 2; j++) ^ user.cpp:177:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i <= 2 * cordx.size() + 10; i++) ^ user.cpp:179:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j <= 2 * cordy.size() + 10; j++) ^ user.cpp:187:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i <= 2 * cordx.size() + 10; i++) ^ user.cpp:189:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j <= 2 * cordy.size() + 10; j++) ^ user.cpp: In function ‘void citire()’: user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &m, &p); ^ user.cpp:42:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &tmp1, &tmp2, &tmp3, &tmp4); ^ user.cpp: In function ‘int main()’: user.cpp:205:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.in", "r", stdin); ^ user.cpp:206:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colaj.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms624kbIncorect0
20ms596kbKilled by signal 11(SIGSEGV).0
30msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.0
50ms592kbKilled by signal 11(SIGSEGV).0
60ms592kbKilled by signal 11(SIGSEGV).0
70ms588kbKilled by signal 11(SIGSEGV).0
812msDepăşitMemory limit exceeded.0
90ms596kbKilled by signal 11(SIGSEGV).0
100ms612kbIncorect0
Punctaj total0

Ceva nu functioneaza?