Pagini recente » Borderou de evaluare (job #1797112) | Borderou de evaluare (job #1843856) | Monitorul de evaluare | Borderou de evaluare (job #3160410) | Borderou de evaluare (job #1394870)
Borderou de evaluare (job #1394870)
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:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
/tmp/ccfadIRY.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 | 488kb | OK | 10 |
| 2 | 0ms | 484kb | Incorect | 0 |
| 3 | 0ms | 484kb | Incorect | 0 |
| 4 | 0ms | 480kb | Incorect | 0 |
| 5 | 0ms | 484kb | Incorect | 0 |
| 6 | 0ms | 488kb | Incorect | 0 |
| 7 | 0ms | 488kb | Incorect | 0 |
| 8 | 0ms | 484kb | OK | 10 |
| 9 | 0ms | 476kb | Incorect | 0 |
| 10 | 0ms | 484kb | OK | 10 |
| Punctaj total | 30 |