Pagini recente » Borderou de evaluare (job #1841853) | Borderou de evaluare (job #1055481) | Borderou de evaluare (job #670139) | Borderou de evaluare (job #2411411) | Borderou de evaluare (job #1440251)
Borderou de evaluare (job #1440251)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccOKgXBT.o: In function `main':
user.cpp:(.text.startup+0xb8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1320ms | 5152kb | Incorect | 0 |
Punctaj total | 0 |