Pagini recente » Borderou de evaluare (job #1389621) | Borderou de evaluare (job #2755462) | Borderou de evaluare (job #2460797) | Borderou de evaluare (job #50891) | Borderou de evaluare (job #1188879)
Borderou de evaluare (job #1188879)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.in","r",stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.out","w",stdout);
^
user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:20:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
user.cpp:21:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/cccadL57.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 744ms | 8136kb | OK | 100 |
Punctaj total | 100 |