Borderou de evaluare (job #2245100)

Utilizator Anastasia11Susciuc Anastasia Anastasia11 Data 24 septembrie 2018 18:31:49
Problema Cerc3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d", &a[i].xc, &a[i].yc, &a[i].r ); ^ user.cpp:47:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:47:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cerc3.in", "r", stdin); ^ user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cerc3.out", "w", stdout); ^ user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:47:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a[i].xc, &a[i].yc, &a[i].r ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1272kbToate valorile sunt gresite!0
20ms1272kbOK!10
3Depăşit1268kbTime limit exceeded.0
4Depăşit1268kbTime limit exceeded.0
5Depăşit1296kbTime limit exceeded.0
60ms1292kbKilled by signal 11(SIGSEGV).0
70ms1276kbKilled by signal 11(SIGSEGV).0
80ms1284kbKilled by signal 11(SIGSEGV).0
90ms1308kbKilled by signal 11(SIGSEGV).0
100ms1272kbOK!10
Punctaj total20

Ceva nu functioneaza?