Borderou de evaluare (job #2210764)

Utilizator stefdascalescuStefan Dascalescu stefdascalescu Data 7 iunie 2018 21:06:34
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100002]’ [-Wformat=] scanf("%s",&x); ^ user.cpp:18:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1002]’ [-Wformat=] scanf("%s",&x2); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.in","r",stdin); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.out","w",stdout); ^ user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&l,&n); ^ user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&x); ^ user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&x2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1692kbTime limit exceeded.0
216ms1336kbOK10
3Depăşit1808kbTime limit exceeded.0
4Depăşit1696kbTime limit exceeded.0
5Depăşit1808kbTime limit exceeded.0
6Depăşit1592kbTime limit exceeded.0
7Depăşit1804kbTime limit exceeded.0
8Depăşit1804kbTime limit exceeded.0
9408ms1568kbOK10
1068ms1360kbOK10
Punctaj total30

Ceva nu functioneaza?