Borderou de evaluare (job #1475189)

Utilizator akaprosAna Kapros akapros Data 23 august 2015 17:07:33
Problema Eliminare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:97:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[9]’ [-Wformat=] scanf("%s %s", &s, &t); ^ user.cpp:97: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:79: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:80: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:83: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:97: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:137: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/ccewXjCi.o: In function `read()': user.cpp:(.text+0x278): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms708kbOK10
232ms1216kbOK10
3792ms7028kbOK10
41060ms7860kbOK10
52148ms14008kbOK10
61812ms14536kbOK10
71780ms15444kbOK10
8Depăşit29484kbTime limit exceeded.0
9Depăşit30368kbTime limit exceeded.0
10Depăşit30596kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?