Borderou de evaluare (job #1699967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:19: warning: unused variable ‘ucf’ [-Wunused-variable]
int cf = 0, ucf = -1;
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.in","r",stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:41:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s + 1);
^
/tmp/cclFQppe.o: In function `main':
user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 7340kb | Time limit exceeded. | 0 |
Punctaj total | 0 |