Borderou de evaluare (job #2205126)

Utilizator dragos.galeteanu2001Dragos Iulian dragos.galeteanu2001 Data 18 mai 2018 00:43:30
Problema Secvente 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:26:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", mx); ^ user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms800kbOK5
20ms756kbOK5
30ms864kbOK5
40ms860kbOK5
50ms1036kbOK5
60ms756kbKilled by signal 11(SIGSEGV).0
70ms752kbKilled by signal 11(SIGSEGV).0
80ms800kbKilled by signal 11(SIGSEGV).0
90ms792kbKilled by signal 11(SIGSEGV).0
100ms752kbKilled by signal 11(SIGSEGV).0
110ms856kbKilled by signal 11(SIGSEGV).0
120ms752kbKilled by signal 11(SIGSEGV).0
130ms796kbKilled by signal 11(SIGSEGV).0
140ms796kbKilled by signal 11(SIGSEGV).0
150ms872kbKilled by signal 11(SIGSEGV).0
160ms872kbKilled by signal 11(SIGSEGV).0
170ms792kbKilled by signal 11(SIGSEGV).0
180ms804kbKilled by signal 11(SIGSEGV).0
190ms856kbKilled by signal 11(SIGSEGV).0
200ms816kbKilled by signal 11(SIGSEGV).0
Punctaj total25

Ceva nu functioneaza?