Borderou de evaluare (job #1556459)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 24 decembrie 2015 21:56:39
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:71:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=] scanf("%s\n",&s[i]); ^ main.cpp:67: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:68: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:69: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:71: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:81: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
19ms3670kbRaspuns gresit!0
2451ms4063kbTime limit exceeded0
3450ms5898kbTime limit exceeded0
4452ms7864kbTime limit exceeded0
5452ms10878kbTime limit exceeded0
6453ms11796kbTime limit exceeded0
7451ms12189kbTime limit exceeded0
8450ms12845kbTime limit exceeded0
9454ms12713kbTime limit exceeded0
10452ms12713kbTime limit exceeded0
118ms3145kbRaspuns gresit!0
129ms3145kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?