Borderou de evaluare (job #1836004)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 decembrie 2016 18:01:52
Problema Concurs2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&p); ^ user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("concurs2.in","r",stdin); ^ user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("concurs2.out","w",stdout); ^ user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ user.cpp:22:28: 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
10ms436kbKilled by signal 11(SIGSEGV).0
20ms452kbRaspuns gresit0
30ms440kbKilled by signal 11(SIGSEGV).0
40ms448kbRaspuns gresit0
50ms448kbRaspuns gresit0
60ms456kbRaspuns gresit0
70ms440kbKilled by signal 11(SIGSEGV).0
80ms452kbRaspuns gresit0
90ms448kbRaspuns gresit0
100ms452kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?