Pagini recente » Borderou de evaluare (job #2196958) | Borderou de evaluare (job #150913) | Borderou de evaluare (job #887336) | Borderou de evaluare (job #3199168) | Borderou de evaluare (job #1399491)
Borderou de evaluare (job #1399491)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);a[0]='a';
^
/tmp/ccJf99xY.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 | 520kb | OK! | 10 |
| 2 | 0ms | 520kb | OK! | 10 |
| 3 | 0ms | 516kb | OK! | 10 |
| 4 | 0ms | 540kb | OK! | 10 |
| 5 | 12ms | 1008kb | OK! | 10 |
| 6 | 4ms | 712kb | OK! | 10 |
| 7 | 12ms | 864kb | OK! | 10 |
| 8 | 12ms | 1012kb | OK! | 10 |
| 9 | 4ms | 652kb | OK! | 10 |
| 10 | 8ms | 752kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 90 |