Pagini recente » Borderou de evaluare (job #653815) | Borderou de evaluare (job #1250608) | Borderou de evaluare (job #702387) | Borderou de evaluare (job #3036247) | Borderou de evaluare (job #1567055)
Borderou de evaluare (job #1567055)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:36: 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:40:38: 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:45:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:49:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(prefix); prefixLength = strlen(prefix);
^
user.cpp:50:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(suffix); suffixLength = strlen(suffix);
^
/tmp/ccyqOQKQ.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 | 52ms | 1320kb | Incorect | 0 |
Punctaj total | 0 |