Pagini recente » Borderou de evaluare (job #806783) | Borderou de evaluare (job #2880290) | Borderou de evaluare (job #2447642) | Borderou de evaluare (job #548949) | Borderou de evaluare (job #1440454)
Borderou de evaluare (job #1440454)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:31: 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:20:33: 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:21:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:23:26: 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:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); soll=0;
^
/tmp/cc574LzD.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 5148kb | Incorect | 0 |
Punctaj total | 0 |