Borderou de evaluare (job #1416968)

Utilizator binicBinica Nicolae binic Data 9 aprilie 2015 11:20:56
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:50: warning: format ‘%c’ expects argument of type ‘char*’, but argument 6 has type ‘int*’ [-Wformat=] scanf("%d %d %d %d %c",&x1,&y1,&x2,&y2,&c); ^ user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in","r",stdin); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out","w",stdout); ^ user.cpp:8:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&n,&m,&u); ^ user.cpp:11:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %c",&x1,&y1,&x2,&y2,&c); ^ user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2836kbKilled by signal 11(SIGSEGV).0
24ms2452kbKilled by signal 11(SIGSEGV).0
30ms416kbKilled by signal 11(SIGSEGV).0
40ms480kbKilled by signal 11(SIGSEGV).0
50ms508kbKilled by signal 11(SIGSEGV).0
60ms632kbKilled by signal 11(SIGSEGV).0
70ms620kbKilled by signal 11(SIGSEGV).0
80ms564kbKilled by signal 11(SIGSEGV).0
940ms2212kbKilled by signal 11(SIGSEGV).0
1028ms2040kbKilled by signal 11(SIGSEGV).0
1128ms2700kbKilled by signal 11(SIGSEGV).0
1260ms2908kbKilled by signal 11(SIGSEGV).0
1344ms2040kbKilled by signal 11(SIGSEGV).0
1452ms3200kbKilled by signal 11(SIGSEGV).0
1580ms3788kbKilled by signal 11(SIGSEGV).0
1680ms3828kbKilled by signal 11(SIGSEGV).0
1772ms3872kbKilled by signal 11(SIGSEGV).0
1892msDepăşitMemory limit exceeded.0
1996msDepăşitMemory limit exceeded.0
2092msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?