Pagini recente » Borderou de evaluare (job #1487483) | Borderou de evaluare (job #2832772) | Borderou de evaluare (job #2372157) | Borderou de evaluare (job #1704646) | Borderou de evaluare (job #1504523)
Borderou de evaluare (job #1504523)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:15:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(linie);
^
/tmp/ccZlFAbE.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
2 | 0ms | 396kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 |
4 | 0ms | 668kb | OK | 10 |
5 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 356kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 348kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 352kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 30 |