Pagini recente » Borderou de evaluare (job #2182490) | Borderou de evaluare (job #1365216) | Borderou de evaluare (job #3123028) | Borderou de evaluare (job #1638718) | Borderou de evaluare (job #1375839)
Borderou de evaluare (job #1375839)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
*(p+1)=NULL;
^
user.cpp:41:23: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
*p=NULL; k++;
^
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in","r",stdin);
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out","w",stdout);
^
user.cpp:27:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:49:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccRcfGFe.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | Corect | 10 |
| 2 | 0ms | 284kb | Corect | 10 |
| 3 | 0ms | 248kb | Corect | 10 |
| 4 | 0ms | 248kb | Corect | 10 |
| 5 | 0ms | 508kb | Corect | 10 |
| 6 | 0ms | 308kb | Killed by signal 6(SIGABRT). | 0 |
| 7 | 0ms | 248kb | Corect | 10 |
| 8 | 4ms | 772kb | Corect | 10 |
| 9 | 0ms | 276kb | Corect | 10 |
| 10 | 0ms | 284kb | Corect | 10 |
| Punctaj total | 90 |