Borderou de evaluare (job #1744914)

Utilizator vladc096Vlad Cincean vladc096 Data 20 august 2016 18:43:28
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:72:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=] scanf("%s", &sir1); ^ user.cpp:73:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=] scanf("%s", &sir2); ^ user.cpp:79:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(sir1); ++i) { ^ user.cpp:67: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:68: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:70:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:72:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &sir1); ^ user.cpp:73: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
10ms268kbOK10
20ms272kbOK10
312ms272kbOK10
4Depăşit284kbTime limit exceeded.0
5Depăşit280kbTime limit exceeded.0
6Depăşit380kbTime limit exceeded.0
7Depăşit324kbTime limit exceeded.0
8Depăşit348kbTime limit exceeded.0
9Depăşit368kbTime limit exceeded.0
10Depăşit324kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?