Borderou de evaluare (job #1790482)

Utilizator delia_99Delia Draghici delia_99 Data 28 octombrie 2016 12:04:08
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&friendd[i]); ^ user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in","r",stdin); ^ user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out","w",stdout); ^ user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:59:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&friendd[i]); ^ user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:66:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&a,&b,&t,&w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit508kbTime limit exceeded.0
2Depăşit508kbTime limit exceeded.0
3Depăşit496kbTime limit exceeded.0
4Depăşit492kbTime limit exceeded.0
5Depăşit516kbTime limit exceeded.0
6Depăşit512kbTime limit exceeded.0
7Depăşit504kbTime limit exceeded.0
868ms564kbOK10
90ms320kbOK10
10Depăşit684kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?