Borderou de evaluare (job #1572054)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 18 ianuarie 2016 18:43:16
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 2

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:77:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=] scanf("%s\n",&s[i]); ^ main.cpp:73:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.in","r",stdin); ^ main.cpp:74:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pirati.out","w",stdout); ^ main.cpp:75:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&n,&m,&p); ^ main.cpp:77:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&s[i]); ^ main.cpp:87:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&a1,&b1,&a2,&b2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms524kbRaspuns gresit!0
2452ms1048kbTime limit exceeded0
3452ms2883kbTime limit exceeded0
4452ms4849kbTime limit exceeded0
5452ms8388kbTime limit exceeded0
6452ms9175kbTime limit exceeded0
7451ms9568kbTime limit exceeded0
8452ms9961kbTime limit exceeded0
9453ms9830kbTime limit exceeded0
10453ms9830kbTime limit exceeded0
112ms131kbOK!1
122ms131kbOK!1
Punctaj total2

Ceva nu functioneaza?