Pagini recente » Borderou de evaluare (job #730108) | Borderou de evaluare (job #1068443) | Borderou de evaluare (job #1830596) | Borderou de evaluare (job #2959600) | Borderou de evaluare (job #1684219)
Borderou de evaluare (job #1684219)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(int)’:
user.cpp:23:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(k<=n && s<=S)
^
user.cpp: In function ‘int main()’:
user.cpp:43:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("echilibru.in","r",stdin);
^
user.cpp:44:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("echilibru.out","w",stdout);
^
user.cpp:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:50:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:55:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 400kb | Time limit exceeded. | 0 |
Punctaj total | 0 |