Borderou de evaluare (job #1475343)

Utilizator akaprosAna Kapros akapros Data 23 august 2015 21:34:28
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void newind(int, int, int)’: user.cpp:20:35: warning: unused variable ‘val’ [-Wunused-variable] int mid = (left + right) / 2, val; ^ user.cpp: In function ‘void solve()’: user.cpp:105:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=] scanf("%s %s", &s, &t); ^ user.cpp:105:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[9]’ [-Wformat=] user.cpp: In function ‘void read()’: user.cpp:87:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("eliminare.in", "r", stdin); ^ user.cpp:88:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:91:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘void solve()’: user.cpp:105:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s", &s, &t); ^ user.cpp: In function ‘void write()’: user.cpp:134:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("eliminare.out", "w", stdout); ^ /tmp/ccPI9Xqx.o: In function `read()': user.cpp:(.text+0x2d8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
11212ms664kbOK10
22248ms1092kbOK10
3Depăşit6468kbTime limit exceeded.0
4Depăşit6860kbTime limit exceeded.0
5Depăşit12880kbTime limit exceeded.0
6Depăşit13272kbTime limit exceeded.0
7Depăşit13464kbTime limit exceeded.0
8Depăşit26488kbTime limit exceeded.0
9Depăşit26576kbTime limit exceeded.0
10Depăşit26680kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?