Pagini recente » Borderou de evaluare (job #3218744) | Borderou de evaluare (job #3134772) | Borderou de evaluare (job #123923) | Borderou de evaluare (job #1572161) | Borderou de evaluare (job #1290215)
Borderou de evaluare (job #1290215)
Raport evaluator
Compilare:
user.cpp: In function ‘bool prefix(char*, char*, int, int)’:
user.cpp:28:9: warning: unused variable ‘lg’ [-Wunused-variable]
int lg=strlen(a+1); int i;
^
user.cpp: In function ‘void multimi1(int)’:
user.cpp:53: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:87:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if (i>>j&1!=0) a[++nr1]=s[j+n];
^
user.cpp:114:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:118: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:119: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:121:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:122:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccxCaUjT.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 | 336kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 16ms | 332kb | OK | 10 |
6 | 36ms | 336kb | OK | 10 |
7 | 76ms | 380kb | OK | 10 |
8 | 352ms | 344kb | Incorect | 0 |
9 | 368ms | 356kb | OK | 10 |
10 | 324ms | 364kb | OK | 10 |
Punctaj total | 90 |