Pagini recente » Borderou de evaluare (job #981398) | Borderou de evaluare (job #1568254) | Borderou de evaluare (job #1857415) | Borderou de evaluare (job #1823513) | Borderou de evaluare (job #1567083)
Borderou de evaluare (job #1567083)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:68:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:70:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:72:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(prefix); prefixLength = strlen(prefix);
^
user.cpp:73:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(suffix); suffixLength = strlen(suffix);
^
/tmp/cc62sipj.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 | 56ms | 1348kb | Incorect | 0 |
Punctaj total | 0 |