Pagini recente » Borderou de evaluare (job #1690303) | Borderou de evaluare (job #1857322) | Borderou de evaluare (job #1926489) | Borderou de evaluare (job #1928855) | Borderou de evaluare (job #2055376)
Borderou de evaluare (job #2055376)
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/ccwe5vGG.o: In function `main':
user.cpp:(.text.startup+0xed): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 772ms | 4220kb | Incorect | 0 |
Punctaj total | 0 |