Borderou de evaluare (job #1744923)

Utilizator vladc096Vlad Cincean vladc096 Data 20 august 2016 18:50:22
Problema Joben Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=] scanf("%s", &sir1); ^ user.cpp:74:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=] scanf("%s", &sir2); ^ user.cpp:80:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(sir1); ++i) { ^ user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joben.in", "r", stdin); ^ user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joben.out", "w", stdout); ^ user.cpp:71:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:73:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &sir1); ^ user.cpp:74:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &sir2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms252kbOK10
312ms260kbOK10
4Depăşit280kbTime limit exceeded.0
5Depăşit276kbTime limit exceeded.0
6Depăşit368kbTime limit exceeded.0
7Depăşit320kbTime limit exceeded.0
8Depăşit332kbTime limit exceeded.0
9Depăşit364kbTime limit exceeded.0
10Depăşit316kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?