Borderou de evaluare (job #1191685)

Utilizator catalinrebegeaUNIBUC-Claudia Catarig catalinrebegea Data 28 mai 2014 13:53:52
Problema Matrice3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:77:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d%d%d", &N,&M,&Q); ^ user.cpp:77:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=] scanf("%d%d%d%d", &l1,&c1,&l2,&c2); ^ user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=] user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=] user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘unsigned char*’ [-Wformat=] user.cpp:75:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("matrice3.in","r",stdin); ^ user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("matrice3.out","w",stdout); ^ user.cpp:77:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N,&M,&Q); ^ user.cpp:79:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", (a[i]+1)); ^ user.cpp:85:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &l1,&c1,&l2,&c2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 11(SIGSEGV).0
20ms272kbIncorect0
30ms264kbKilled by signal 11(SIGSEGV).0
40ms260kbKilled by signal 11(SIGSEGV).0
50ms244kbKilled by signal 11(SIGSEGV).0
60ms260kbKilled by signal 11(SIGSEGV).0
70ms244kbKilled by signal 11(SIGSEGV).0
80ms264kbKilled by signal 11(SIGSEGV).0
90ms264kbKilled by signal 11(SIGSEGV).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?