Pagini recente » Borderou de evaluare (job #1520876) | Borderou de evaluare (job #1471459)
Borderou de evaluare (job #1471459)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superstring.in","r",stdin);
^
user.cpp:50:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superstring.out","w",stdout);
^
user.cpp:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:55:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
user.cpp:56:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
/tmp/ccisT7iD.o: In function `main':
user.cpp:(.text.startup+0x70): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 388ms | 6320kb | OK | 100 |
Punctaj total | 100 |