Pagini recente » Borderou de evaluare (job #2440449) | Borderou de evaluare (job #193374) | Borderou de evaluare (job #2055037) | Borderou de evaluare (job #2668670) | Borderou de evaluare (job #1406327)
Borderou de evaluare (job #1406327)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: unused variable ‘j’ [-Wunused-variable]
int t,q,i,j,ls,ld,li,x,y;
^
user.cpp:12:19: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable]
long long ans,nr;
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:18:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
user.cpp:19:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st+1);
^
user.cpp:20:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr+1);
^
/tmp/ccjh2VEk.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 1040kb | Incorect | 0 |
Punctaj total | 0 |