Borderou de evaluare (job #1616617)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 27 februarie 2016 11:37:28
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
10ms500kbIncorect0
24msDepăşitMemory limit exceeded.0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
70ms460kbKilled by signal 11(SIGSEGV).0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
100ms488kbOK10
Punctaj total10

Ceva nu functioneaza?