Borderou de evaluare (job #1749027)

Utilizator NguyenCuongNguyen Cuong NguyenCuong Data 27 august 2016 18:16:31
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:54: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] #define openfile {freopen("harbingers.in","rt",stdin);freopen("harbingers.out","wt",stdout);} ^ user.cpp:60:12: note: in expansion of macro ‘openfile’ if (HOME) openfile; ^ user.cpp:12:92: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] #define openfile {freopen("harbingers.in","rt",stdin);freopen("harbingers.out","wt",stdout);} ^ user.cpp:60:12: note: in expansion of macro ‘openfile’ if (HOME) openfile; ^ user.cpp:61:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &u, &v, &w); ^ user.cpp:67:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] FOR(i, 2, n) scanf("%lld%lld", &s[i], &val[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3200kbOK10
28ms3696kbOK10
3128ms11108kbOK10
4140ms14792kbKilled by signal 11(SIGSEGV).0
5172ms15944kbKilled by signal 11(SIGSEGV).0
6204ms17080kbKilled by signal 11(SIGSEGV).0
7172ms10864kbOK10
8Depăşit14488kbTime limit exceeded.0
9Depăşit11472kbTime limit exceeded.0
10Depăşit15676kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?