Borderou de evaluare (job #1296653)

Utilizator DjokValeriu Motroi Djok Data 21 decembrie 2014 13:30:09
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:24:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:26:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); /*k=(int)sqrt(n);*/ ^ user.cpp:28:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;++i) scanf("%d",&a[i]); ^ user.cpp:42:24: 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
10ms332kbOK10
212msDepăşitMemory limit exceeded.0
352msDepăşitMemory limit exceeded.0
412msDepăşitMemory limit exceeded.0
58ms420kbKilled by signal 11(SIGSEGV).0
68ms420kbKilled by signal 11(SIGSEGV).0
712ms420kbKilled by signal 11(SIGSEGV).0
812ms416kbKilled by signal 11(SIGSEGV).0
912ms420kbKilled by signal 11(SIGSEGV).0
1012ms424kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?