Borderou de evaluare (job #2466854)

Utilizator FrostfireMagirescu Tudor Frostfire Data 3 octombrie 2019 09:12:27
Problema Unicat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[50010]' [-Wformat=] scanf("%s", &s1); ^ main.cpp:20:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[50010]' [-Wformat=] scanf("%s", &s2); ^ main.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<strlen(s1); i++) ~^~~~~~~~~~~ main.cpp:32:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2; i<t1.size()-1; i++) ~^~~~~~~~~~~~ main.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2; i<t1.size()-1; i++) ~^~~~~~~~~~~~ main.cpp:59:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<strlen(s2); i++) ~^~~~~~~~~~~ main.cpp:67:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2; i<t2.size()-1; i++) ~^~~~~~~~~~~~ main.cpp:80:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2; i<t2.size()-1; i++) ~^~~~~~~~~~~~ main.cpp:91:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", sol); ^ main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("unicat.in", "r", stdin); ^ main.cpp:18:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("unicat.out", "w", stdout); ^ main.cpp:19:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s1); ^ main.cpp:20:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms655kbOK1010
23ms524kbOK1010
33ms524kbOK1010
41204ms786kbTime limit exceeded00
51202ms655kbTime limit exceeded00
61200ms655kbTime limit exceeded00
71203ms655kbTime limit exceeded00
81200ms786kbTime limit exceeded0
91200ms655kbTime limit exceeded00
101202ms761kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?