Pagini recente » Borderou de evaluare (job #1174989) | Borderou de evaluare (job #2813172) | Borderou de evaluare (job #2200146) | Borderou de evaluare (job #1687571) | Borderou de evaluare (job #2040072)
Borderou de evaluare (job #2040072)
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/cc7aM3F2.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 | 288kb | OK! | 10 |
| 3 | 0ms | 288kb | Raspuns gresit! | 0 |
| 4 | 0ms | 424kb | Raspuns gresit! | 0 |
| 5 | 52ms | 780kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 20ms | 1488kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 36ms | 1700kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 52ms | 1784kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 12ms | 1448kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 28ms | 1580kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |