Borderou de evaluare (job #1790485)

Utilizator delia_99Delia Draghici delia_99 Data 28 octombrie 2016 12:06:14
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:64:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&friendd[i]); ^ user.cpp:58: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:59: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:61: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:64:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&friendd[i]); ^ user.cpp:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:71: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ăşit556kbTime limit exceeded.0
2Depăşit552kbTime limit exceeded.0
3Depăşit544kbTime limit exceeded.0
4Depăşit544kbTime limit exceeded.0
5Depăşit552kbTime limit exceeded.0
6Depăşit556kbTime limit exceeded.0
7Depăşit552kbTime limit exceeded.0
836ms580kbOK10
90ms320kbOK10
10Depăşit588kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?