Pagini recente » Borderou de evaluare (job #2034825) | Borderou de evaluare (job #789987) | Borderou de evaluare (job #2521173) | Borderou de evaluare (job #3211918) | Borderou de evaluare (job #1410483)
Borderou de evaluare (job #1410483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&t);
^
user.cpp:71:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&a)+1);
^
user.cpp:72:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
user.cpp:81:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(*(&b)+1);
^
/tmp/ccJd4KkZ.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1008kb | Incorect | 0 |
Punctaj total | 0 |