Pagini recente » Borderou de evaluare (job #2791789) | Borderou de evaluare (job #825392) | Borderou de evaluare (job #3243878) | Borderou de evaluare (job #2040986) | Borderou de evaluare (job #1458150)
Borderou de evaluare (job #1458150)
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:52: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 | 268kb | Incorect | 0 |
| Punctaj total | 0 |