Borderou de evaluare (job #1571164)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 17 ianuarie 2016 13:30:41
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:78:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=] scanf("%s\n",&s[i]); ^ main.cpp:74: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:75: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:76: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:78: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:88: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
111ms3670kbRaspuns gresit!0
2451ms4063kbTime limit exceeded0
3452ms5898kbTime limit exceeded0
4453ms7864kbTime limit exceeded0
5452ms10878kbTime limit exceeded0
6453ms11927kbTime limit exceeded0
7453ms12189kbTime limit exceeded0
8451ms12845kbTime limit exceeded0
9452ms12713kbTime limit exceeded0
10451ms12713kbTime limit exceeded0
118ms3145kbOK!1
129ms3145kbOK!1
Punctaj total2

Ceva nu functioneaza?