Borderou de evaluare (job #1616545)

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

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: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
20ms588kbKilled by signal 11(SIGSEGV).0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
50ms584kbKilled by signal 11(SIGSEGV).0
60ms588kbKilled by signal 11(SIGSEGV).0
70ms588kbKilled by signal 11(SIGSEGV).0
84msDepăşitMemory limit exceeded.0
90ms588kbKilled by signal 11(SIGSEGV).0
100ms608kbOK10
Punctaj total10

Ceva nu functioneaza?