Pagini recente » Borderou de evaluare (job #2069454) | Borderou de evaluare (job #275529) | Borderou de evaluare (job #2547801) | Borderou de evaluare (job #2034059) | Borderou de evaluare (job #1697603)
Borderou de evaluare (job #1697603)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52: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:53: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:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:57:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:58:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st+1);
^
user.cpp:59:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr+1);
^
/tmp/cc3DqkKa.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 | 36ms | 1440kb | Incorect | 0 |
Punctaj total | 0 |