Borderou de evaluare (job #1692767)

Utilizator mihai2003LLL LLL mihai2003 Data 21 aprilie 2016 16:55:11
Problema String Repair Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100000]’ [-Wformat=] scanf("%s%s",&v1,&v2); ^ user.cpp:12:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100000]’ [-Wformat=] user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sr.in","r",stdin); ^ user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sr.out","w",stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s%s",&v1,&v2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms424kbCorect100
20ms424kbGresit0
30ms420kbGresit0
40ms440kbGresit0
50ms452kbGresit0
60ms484kbGresit0
70ms532kbGresit0
80ms512kbGresit0
912ms672kbGresit0
100ms532kbGresit0
Punctaj total0

Ceva nu functioneaza?