Pagini recente » Borderou de evaluare (job #1303639) | Borderou de evaluare (job #1727509) | Borderou de evaluare (job #966649) | Cod sursa (job #1754416) | Borderou de evaluare (job #1265420)
Borderou de evaluare (job #1265420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6: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:7: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:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:9:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccLcyAdH.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 | 276kb | OK! | 10 |
| 2 | 0ms | 708kb | OK! | 10 |
| 3 | 0ms | 1284kb | OK! | 10 |
| 4 | 4ms | 1368kb | Raspuns gresit! | 0 |
| 5 | 128ms | 2744kb | OK! | 10 |
| 6 | 56ms | 2276kb | OK! | 10 |
| 7 | 96ms | 3000kb | OK! | 10 |
| 8 | 136ms | 3724kb | OK! | 10 |
| 9 | 36ms | 1936kb | OK! | 10 |
| 10 | 72ms | 2572kb | Raspuns gresit! | 0 |
| Punctaj total | 80 |