Pagini recente » Borderou de evaluare (job #2763665) | Borderou de evaluare (job #1158696) | Borderou de evaluare (job #156215) | Borderou de evaluare (job #3138959) | Borderou de evaluare (job #1440245)
Borderou de evaluare (job #1440245)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",res);
^
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/ccOyM74G.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 | 5156kb | Incorect | 0 |
Punctaj total | 0 |