Borderou de evaluare (job #2245521)
Utilizator | I am not real Neredesin | Data | 25 septembrie 2018 13:23:46 |
---|---|---|---|
Problema | Tcast | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:39:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < g[x].size(); i++)
~~^~~~~~~~~~~~~
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(s = i = 0; i < g[x].size(); i++)
~~^~~~~~~~~~~~~
user.cpp:53:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
k = i+j+1>>1;
~~~^~
user.cpp: In function ‘int solve()’:
user.cpp:68:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = le+ri>>1;
~~^~~
user.cpp: In function ‘int main()’:
user.cpp:99:15: error: ‘gets’ was not declared in this scope
gets(ma[i]);
^
user.cpp:82:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tcast.in","r",stdin);
^
user.cpp:83:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:89:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:96:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" ");
^
user.cpp:102:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tcast.out","w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !