Pagini recente » Cod sursa (job #12895) | Cod sursa (job #1274701) | Cod sursa (job #1980232) | Borderou de evaluare (job #854781) | Borderou de evaluare (job #2055380)
Borderou de evaluare (job #2055380)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvant.in","r",stdin);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvant.out","w",stdout);
^
user.cpp:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:18:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l);
^
/tmp/cc5VGnjY.o: In function `main':
user.cpp:(.text.startup+0x120): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 588ms | 4216kb | Incorect | 0 |
| Punctaj total | 0 |