Pagini recente » Borderou de evaluare (job #2839254) | Borderou de evaluare (job #1122611) | Borderou de evaluare (job #708399) | Borderou de evaluare (job #653557) | Borderou de evaluare (job #1394866)
Borderou de evaluare (job #1394866)
Raport evaluator
Compilare:
user.cpp: In function ‘void Query()’:
user.cpp:72:15: warning: unused variable ‘t’ [-Wunused-variable]
int k, i, t, len;
^
user.cpp:73:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok;
^
user.cpp: In function ‘void Read_and_Set()’:
user.cpp:15:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S1); gets(S2);
^
user.cpp:15:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S1); gets(S2);
^
user.cpp: In function ‘void Query()’:
user.cpp:75:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Q); len = strlen(Q); //printf("%s ",Q);
^
user.cpp: In function ‘int main()’:
user.cpp:125:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m); gets(Q);
^
user.cpp:125:29: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m); gets(Q);
^
user.cpp: In function ‘void Query()’:
user.cpp:46:12: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( X[i] < Y[0] )
^
user.cpp:43:9: note: ‘i’ was declared here
int i;
^
user.cpp:46:12: warning: ‘i’ is used uninitialized in this function [-Wuninitialized]
if( X[i] < Y[0] )
^
user.cpp:43:9: note: ‘i’ was declared here
int i;
^
/tmp/ccgXKr4W.o: In function `Read_and_Set()':
user.cpp:(.text+0x17): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 0ms | 484kb | Incorect | 0 |
3 | 0ms | 488kb | Incorect | 0 |
4 | 0ms | 484kb | Incorect | 0 |
5 | 0ms | 480kb | Incorect | 0 |
6 | 0ms | 484kb | Incorect | 0 |
7 | 0ms | 480kb | Incorect | 0 |
8 | 0ms | 484kb | OK | 10 |
9 | 0ms | 488kb | Incorect | 0 |
10 | 0ms | 488kb | OK | 10 |
Punctaj total | 30 |