Pagini recente » Borderou de evaluare (job #1501879) | Borderou de evaluare (job #1136799) | Borderou de evaluare (job #259058) | Borderou de evaluare (job #1861323) | Borderou de evaluare (job #2068034)
Borderou de evaluare (job #2068034)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int zalgorithm(long long int, long long int, long long int)’:
user.cpp:32:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i>ok+1)
^
user.cpp:36:25: warning: no return statement in function returning non-void [-Wreturn-type]
oki[1][n-(i-ok-1)+1]=1;}}
^
user.cpp: In function ‘int main()’:
user.cpp:38:31: 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:39:33: 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:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&t);
^
user.cpp:45:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:47:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:48:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st+1);
^
user.cpp:50:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:51:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr+1);
^
/tmp/ccpzzevr.o: In function `main':
user.cpp:(.text.startup+0xbb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 2856kb | Incorect | 0 |
Punctaj total | 0 |