Pagini recente » Borderou de evaluare (job #2234299) | Borderou de evaluare (job #1672720) | Borderou de evaluare (job #470102) | Borderou de evaluare (job #1614562) | Borderou de evaluare (job #1551866)
Borderou de evaluare (job #1551866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44: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:45: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:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d\n", &T); T; -- T) {
^
user.cpp:49:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:50:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(left + 1);
^
user.cpp:51:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(right + 1);
^
/tmp/ccJuCwmX.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 888kb | Incorect | 0 |
Punctaj total | 0 |