Borderou de evaluare (job #2091898)

Utilizator calin1Serban Calin calin1 Data 20 decembrie 2017 15:35:06
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:69:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",nr + numitor_0 * (numitor_0 - 1) / 2); ^ user.cpp: In function ‘void read()’: user.cpp:74:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:78:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n", &vec[i].x, &vec[i].y); ^ user.cpp:78:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:78:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &vec[i].x, &vec[i].y); ^ user.cpp: In function ‘int main()’: user.cpp:86:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.in","r",stdin); ^ user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbWrong answer!0
20ms440kbKilled by signal 11(SIGSEGV).0
30ms432kbKilled by signal 11(SIGSEGV).0
40ms448kbKilled by signal 11(SIGSEGV).0
50ms428kbKilled by signal 11(SIGSEGV).0
60ms432kbKilled by signal 11(SIGSEGV).0
70ms432kbKilled by signal 11(SIGSEGV).0
80ms432kbKilled by signal 11(SIGSEGV).0
90ms440kbKilled by signal 11(SIGSEGV).0
100ms440kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?