Pagini recente » Borderou de evaluare (job #3146500) | Borderou de evaluare (job #2682174) | Borderou de evaluare (job #2789830) | Borderou de evaluare (job #396335) | Borderou de evaluare (job #2052390)
Borderou de evaluare (job #2052390)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:7: warning: unused variable ‘i1’ [-Wunused-variable]
int t,i1,i,j,k,sz,curr,rasp=0;
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("frumusete.out","w",stdout);
^
user.cpp:19:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:21:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:22:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch);
^
/tmp/ccxNA8dK.o: In function `main':
user.cpp:(.text.startup+0x17c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 676ms | 7192kb | OK | 100 |
Punctaj total | 100 |