Pagini recente » Borderou de evaluare (job #2179403) | Borderou de evaluare (job #1810971) | Borderou de evaluare (job #1576615) | Borderou de evaluare (job #320360) | Borderou de evaluare (job #2298884)
Borderou de evaluare (job #2298884)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:23: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
s[strlen(s3+1)+2]=NULL;
^~~~
main.cpp:42:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=n; i>=strlen(s3+1); i--)
~^~~~~~~~~~~~~~
main.cpp:44:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=n; i>=strlen(s3+1); i--)
~^~~~~~~~~~~~~~
main.cpp:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i>=strlen(s3+1) && s[i]==s2[j]){
~^~~~~~~~~~~~~~
main.cpp:17:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("potriveala.in", "r",stdin);
^
main.cpp:18:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out", "w",stdout);
^
main.cpp:20:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s1+1);
^
main.cpp:21:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s2+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 3ms | 262kb | OK | 10 | 10 |
6 | 4ms | 524kb | OK | 10 | 10 |
7 | 6ms | 786kb | OK | 10 | 10 |
8 | 10ms | 1441kb | OK | 10 | 30 |
9 | 17ms | 2621kb | OK | 10 |
10 | 21ms | 3538kb | OK | 10 |
Punctaj total | 100 |