Pagini recente » Borderou de evaluare (job #1664768) | Borderou de evaluare (job #1309838) | Borderou de evaluare (job #444785) | Borderou de evaluare (job #2090825) | Borderou de evaluare (job #1406988)
Borderou de evaluare (job #1406988)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53: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:54: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:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:60:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); m=strlen(b+1);
^
user.cpp:63:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1); N = n;
^
user.cpp:72:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1);
^
/tmp/ccNcfw1P.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 804kb | Incorect | 0 |
Punctaj total | 0 |