Pagini recente » Borderou de evaluare (job #2451221) | Borderou de evaluare (job #477378) | Borderou de evaluare (job #2437498) | Borderou de evaluare (job #1884975) | Borderou de evaluare (job #1458148)
Borderou de evaluare (job #1458148)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:28:14: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (i!=j)
^
user.cpp: In function ‘int main()’:
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.in","r",stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.out","w",stdout);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d",&teste);teste;teste--)solve();
^
user.cpp: In function ‘void solve()’:
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 532ms | 264kb | Incorect | 0 |
Punctaj total | 0 |