Pagini recente » Borderou de evaluare (job #177488) | Borderou de evaluare (job #163336) | Borderou de evaluare (job #2009454) | Borderou de evaluare (job #300004) | Borderou de evaluare (job #1290220)
Borderou de evaluare (job #1290220)
Raport evaluator
Compilare:
user.cpp: In function ‘bool prefix(char*, char*, int, int)’:
user.cpp:31:9: warning: unused variable ‘lg’ [-Wunused-variable]
int lg=strlen(a+1); int i;
^
user.cpp: In function ‘void multimi1(int)’:
user.cpp:60:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (i>>j&1!=0) a[++nr1]=s[j];
^
user.cpp: In function ‘int multimi2(int)’:
user.cpp:94:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (i>>j&1!=0) a[++nr1]=s[j+n];
^
user.cpp:121:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:125:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.in","r",stdin);
^
user.cpp:126:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.out","w",stdout);
^
user.cpp:128:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:129:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccz2ComK.o: In function `main':
user.cpp:(.text.startup+0x67): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 348kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 16ms | 344kb | OK | 10 |
6 | 36ms | 344kb | OK | 10 |
7 | 72ms | 384kb | OK | 10 |
8 | 328ms | 348kb | Incorect | 0 |
9 | 344ms | 364kb | OK | 10 |
10 | 304ms | 368kb | OK | 10 |
Punctaj total | 90 |