Borderou de evaluare (job #1903836)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 5 martie 2017 12:58:17
Problema March Status done
Runda prosoft2017-9 Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[1]); ^ user.cpp:64:32: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long long int’ [-Wformat=] scanf("%lld\n",v[i]); ^ user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("march.in","r",stdin); ^ user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("march.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:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&m); ^ user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&v[i]); ^ user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:60:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&m); ^ user.cpp:61:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[1]); ^ user.cpp:64:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n",v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbKilled by signal 11(SIGSEGV).0
20ms400kbKilled by signal 11(SIGSEGV).0
30ms392kbKilled by signal 11(SIGSEGV).0
40ms392kbKilled by signal 11(SIGSEGV).0
50ms392kbKilled by signal 11(SIGSEGV).0
60ms396kbKilled by signal 11(SIGSEGV).0
70ms396kbKilled by signal 11(SIGSEGV).0
80ms392kbKilled by signal 11(SIGSEGV).0
90ms396kbKilled by signal 11(SIGSEGV).0
100ms400kbKilled by signal 11(SIGSEGV).0
110ms440kbOK5
120ms440kbOK5
130ms444kbOK5
140ms444kbOK5
150ms448kbOK5
160ms440kbOK5
170ms440kbOK5
180ms440kbOK5
190ms444kbOK5
200ms448kbOK5
Punctaj total50

Ceva nu functioneaza?