Pagini recente » Borderou de evaluare (job #1102303) | Borderou de evaluare (job #1126553) | Borderou de evaluare (job #1329376) | Borderou de evaluare (job #1923982) | Borderou de evaluare (job #2465862)
Borderou de evaluare (job #2465862)
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:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<t1.size()-1; i++)
~^~~~~~~~~~~~
main.cpp:41: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:64:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<t2.size()-1; i++)
~^~~~~~~~~~~~
main.cpp:74:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t2.size()-1; i++)
~^~~~~~~~~~~~
main.cpp:81:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<t2.size()-1; i++)
~^~~~~~~~~~~~
main.cpp:92: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 |
1 | 4ms | 655kb | OK | 10 | 10 |
2 | 3ms | 524kb | OK | 10 | 10 |
3 | 4ms | 524kb | OK | 10 | 10 |
4 | 1203ms | 712kb | Time limit exceeded | 0 | 0 |
5 | 1202ms | 786kb | Time limit exceeded | 0 | 0 |
6 | 1201ms | 655kb | Time limit exceeded | 0 | 0 |
7 | 1202ms | 655kb | Time limit exceeded | 0 | 0 |
8 | 1200ms | 655kb | Time limit exceeded | 0 |
9 | 1203ms | 655kb | Time limit exceeded | 0 | 0 |
10 | 1203ms | 786kb | Time limit exceeded | 0 |
Punctaj total | 30 |