Pagini recente » Borderou de evaluare (job #428234) | Borderou de evaluare (job #2288796) | Borderou de evaluare (job #2899746) | Borderou de evaluare (job #631423) | Borderou de evaluare (job #2040069)
Borderou de evaluare (job #2040069)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc35c0Z6.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Raspuns gresit! | 0 |
| 2 | 0ms | 284kb | OK! | 10 |
| 3 | 0ms | 288kb | Raspuns gresit! | 0 |
| 4 | 0ms | 432kb | Raspuns gresit! | 0 |
| 5 | 52ms | 788kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 20ms | 1488kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 36ms | 1704kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 52ms | 1784kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 12ms | 1444kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 28ms | 1572kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |