Borderou de evaluare (job #1345380)

Utilizator atatomirTatomir Alex atatomir Data 17 februarie 2015 16:13:17
Problema Oite Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld",&n,&l); ^ user.cpp:31:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:32:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(i=1;i<=n;i++) scanf("%ld",&a[i]); ^ user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("oite.in","r",stdin); ^ user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("oite.out","w",stdout); ^ user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&l); ^ user.cpp:32:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) scanf("%ld",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1308kbOK10
28ms1744kbOK10
312ms2652kbKilled by signal 11(SIGSEGV).0
416ms3528kbKilled by signal 11(SIGSEGV).0
536ms3916kbOK10
640ms6144kbKilled by signal 11(SIGSEGV).0
7Depăşit10488kbTime limit exceeded.0
872ms8220kbKilled by signal 11(SIGSEGV).0
9Depăşit14468kbTime limit exceeded.0
10Depăşit11604kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?