Pagini recente » Borderou de evaluare (job #726097) | Borderou de evaluare (job #2132274) | Borderou de evaluare (job #450626) | Borderou de evaluare (job #299516) | Borderou de evaluare (job #1407061)
Borderou de evaluare (job #1407061)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:13: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
int m, n = strlen(S);
^
user.cpp:42:9: warning: unused variable ‘n’ [-Wunused-variable]
int n, i, T;
^
user.cpp:43:12: warning: unused variable ‘h’ [-Wunused-variable]
double h, m;
^
user.cpp:43:15: warning: unused variable ‘m’ [-Wunused-variable]
double h, m;
^
user.cpp:44: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:45: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:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:51:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp:52:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st);
^
user.cpp:53:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr);
^
/tmp/ccVFdy91.o: In function `main':
user.cpp:(.text.startup+0xbd): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 192kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |